Skip to content

Commit 3049fbd

Browse files
committed
elide unnecessary lifetimes
1 parent f5f06b4 commit 3049fbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ impl Pattern {
698698
}
699699

700700
/// Access the original glob pattern.
701-
pub fn as_str<'a>(&'a self) -> &'a str {
701+
pub fn as_str(&self) -> &str {
702702
&self.original
703703
}
704704

0 commit comments

Comments
 (0)