Skip to content

Commit 11c4dc3

Browse files
Inline, but less
1 parent b1e68fd commit 11c4dc3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/symbolize/gimli/parse_running_mmaps_unix.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,12 @@ pub(super) fn parse_maps() -> Result<Vec<MapsEntry>, &'static str> {
7171
}
7272

7373
impl MapsEntry {
74+
#[inline]
7475
pub(super) fn pathname(&self) -> &OsString {
7576
&self.pathname
7677
}
7778

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

0 commit comments

Comments
 (0)