Skip to content

Commit db3941c

Browse files
committed
fix: remove useless lifetime
clippy lint msg: this lifetime isn't used in the function definition help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#extra_unused_lifetimes
1 parent c14f080 commit db3941c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/oxvg_collections/src/attribute/list_of.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub trait Separator: Clone + SeparatorBound {
6060
.map(|_| ())
6161
}
6262
/// Returns whether the character matches the separator
63-
fn matches<'input>(char: char) -> bool;
63+
fn matches(char: char) -> bool;
6464
}
6565
impl Separator for Space {
6666
fn id(&self) -> Separators {
@@ -69,7 +69,7 @@ impl Separator for Space {
6969
fn new() -> Self {
7070
Self
7171
}
72-
fn matches<'input>(char: char) -> bool {
72+
fn matches(char: char) -> bool {
7373
char.is_whitespace()
7474
}
7575
}

0 commit comments

Comments
 (0)