commit e2a2d2df278eeca5eec0266a43994f42db827ae9
parent 235117818e61e9609e212940c926dfeaf3673454
Author: Mike Hommey <mh+mozilla@glandium.org>
Date: Thu, 13 Nov 2025 09:34:18 +0000
Bug 1999889 - Fix mismatched-lifetime-syntaxes warning in crashreporter. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D272396
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/toolkit/crashreporter/client/app/src/std/path.rs b/toolkit/crashreporter/client/app/src/std/path.rs
@@ -92,7 +92,7 @@ impl Path {
super::fs::ReadDir::new(&self.0)
}
- delegate!(fn display(&self) -> Display);
+ delegate!(fn display(&self) -> Display<'_>);
delegate!(fn file_stem(&self) -> Option<&OsStr>);
delegate!(fn file_name(&self) -> Option<&OsStr>);
delegate!(fn extension(&self) -> Option<&OsStr>);
@@ -105,7 +105,7 @@ impl Path {
self.0.parent().map(Path::from_path)
}
- pub fn ancestors(&self) -> Ancestors {
+ pub fn ancestors(&self) -> Ancestors<'_> {
Ancestors(self.0.ancestors())
}
}