Skip to content

Commit 6a05e64

Browse files
Inline, but less
1 parent cc6caa0 commit 6a05e64

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/symbolize/gimli/parse_running_mmaps_unix.rs

+2
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,12 @@ pub(super) fn parse_maps() -> Result<Vec<MapsEntry>, &'static str> {
6969
}
7070

7171
impl MapsEntry {
72+
#[inline]
7273
pub(super) fn pathname(&self) -> &OsString {
7374
&self.pathname
7475
}
7576

77+
#[inline]
7678
pub(super) fn ip_matches(&self, ip: usize) -> bool {
7779
self.address.0 <= ip && ip < self.address.1
7880
}

0 commit comments

Comments
 (0)