Skip to content

Commit 4be3dee

Browse files
committed
lint: appease Clippy
1 parent 1cef5c6 commit 4be3dee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

alpm-utils/src/alpm.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ use alpm::{Alpm, AlpmList, Db, IntoIter, Package};
88
pub trait AlpmExt {
99
/// An iterator of [`Package`]s that are found in "sync databases",
1010
/// typically registered in one's `pacman.conf`.
11-
fn native_packages<'a>(&'a self) -> NativePkgs<'a>;
11+
fn native_packages(&self) -> NativePkgs<'_>;
1212

1313
/// The opposite of [`AlpmExt::native_packages`]; installed packages that
1414
/// aren't found in any registered "sync database".
15-
fn foreign_packages<'a>(&'a self) -> ForeignPkgs<'a>;
15+
fn foreign_packages(&self) -> ForeignPkgs<'_>;
1616
}
1717

1818
impl AlpmExt for Alpm {
19-
fn native_packages<'a>(&'a self) -> NativePkgs<'a> {
19+
fn native_packages(&self) -> NativePkgs<'_> {
2020
NativePkgs::new(self)
2121
}
2222

23-
fn foreign_packages<'a>(&'a self) -> ForeignPkgs<'a> {
23+
fn foreign_packages(&self) -> ForeignPkgs<'_> {
2424
ForeignPkgs::new(self)
2525
}
2626
}

0 commit comments

Comments
 (0)