Skip to content

Commit

Permalink
Inline, but less
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Jul 7, 2023
1 parent cc6caa0 commit 6a05e64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/symbolize/gimli/parse_running_mmaps_unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ pub(super) fn parse_maps() -> Result<Vec<MapsEntry>, &'static str> {
}

impl MapsEntry {
#[inline]
pub(super) fn pathname(&self) -> &OsString {
&self.pathname
}

#[inline]
pub(super) fn ip_matches(&self, ip: usize) -> bool {
self.address.0 <= ip && ip < self.address.1
}
Expand Down

0 comments on commit 6a05e64

Please sign in to comment.