Skip to content

Commit

Permalink
Fix a few typos in elf_stream docstrings.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark authored Oct 17, 2024
1 parent db692ee commit c413097
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/elf_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ impl<E: EndianParse, S: std::io::Read + std::io::Seek> ElfStream<E, S> {
///
/// Returns a [ParseError] if the
/// [sh_type](SectionHeader#structfield.sh_type) is not
/// [SHT_RELA](abi::SHT_NOTE).
/// [SHT_NOTE](abi::SHT_NOTE).
pub fn section_data_as_notes(
&mut self,
shdr: &SectionHeader,
Expand Down Expand Up @@ -652,7 +652,7 @@ impl<E: EndianParse, S: std::io::Read + std::io::Seek> ElfStream<E, S> {
///
/// Returns a [ParseError] if the
/// [p_type](ProgramHeader#structfield.p_type) is not
/// [PT_RELA](abi::PT_NOTE).
/// [PT_NOTE](abi::PT_NOTE).
pub fn segment_data_as_notes(
&mut self,
phdr: &ProgramHeader,
Expand Down

0 comments on commit c413097

Please sign in to comment.