minidom: Remove unused lifetimes
These can be elided just fine. skip-changelog: This is purely internal change.
This commit is contained in:
parent
205857e59c
commit
26dd6a2a29
3 changed files with 4 additions and 4 deletions
|
|
@ -26,7 +26,7 @@ impl<'a> From<&'a str> for NSChoice<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> NSChoice<'a> {
|
||||
impl NSChoice<'_> {
|
||||
pub(crate) fn compare(&self, ns: &str) -> bool {
|
||||
match (ns, &self) {
|
||||
(_, NSChoice::None) => false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue