Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingCanoe committed Aug 1, 2021
1 parent 081deea commit 9fe13bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ impl<'a> ParsedDwarf<'a> {
})
}

/// Find a address for each substatement in the `Location`.
/// This function return a hashmap where the key are the column number of the statement,
/// and where the value is a address of a instruction from that statement.
/// Find an address for each substatement in the `Location`.
/// This function return a hashmap where the key is the column number of the statement,
/// and where the value is an address of an instruction from that statement.
/// If the `Location` specify a column number, the hashmap will only contain one value.
pub fn find_location_addr(
&'a self,
Expand Down Expand Up @@ -335,9 +335,9 @@ impl Dwarf {
self.rent(|parsed| f(addr, parsed.get_addr_frames(addr)?))
}

/// Find a address for each substatement in the `Location`.
/// This function return a hashmap where the key are the column number of the statement,
/// and where the value is a address of a instruction from that statement.
/// Find an address for each substatement in the `Location`.
/// This function return a hashmap where the key is the column number of the statement,
/// and where the value is an address of an instruction from that statement.
/// If the `Location` specify a column number, the hashmap will only contain one value.
pub fn find_location_addr(
&self,
Expand Down
6 changes: 3 additions & 3 deletions src/symbol/relocate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ impl RelocatedDwarf {
Ok(None)
}

/// Find a address for each substatement in the `Location`.
/// This function return a hashmap where the key are the column number of the statement,
/// and where the value is a address of a instruction from that statement.
/// Find an address for each substatement in the `Location`.
/// This function return a hashmap where the key is the column number of the statement,
/// and where the value is an address of an instruction from that statement.
/// If the `Location` specify a column number, the hashmap will only contain one value.
pub fn find_location_addr(
&self,
Expand Down

0 comments on commit 9fe13bd

Please sign in to comment.