Skip to content

Commit

Permalink
Fix an improper newline in the doc comment for ElfStream.section_head…
Browse files Browse the repository at this point in the history
…er_by_name
  • Loading branch information
cole14 committed Oct 26, 2024
1 parent dd96654 commit 1928c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elf_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ impl<E: EndianParse, S: std::io::Read + std::io::Seek> ElfStream<E, S> {
/// let path = std::path::PathBuf::from("sample-objects/basic.x86_64");
/// let io = std::fs::File::open(path).expect("Could not open file.");
/// let mut file = ElfStream::<AnyEndian, _>::open_stream(io).expect("Open test1");
///
/// let shdr: SectionHeader = *file
/// .section_header_by_name(".note.ABI-tag")
/// .expect("section table should be parseable")
Expand Down

0 comments on commit 1928c51

Please sign in to comment.