fix: clippy warnings with --all-features (#15035)

# Description

Some more `cargo clippy --all-features` warnings from rust toolchain
1.84.1 that I forgot to fix in #14984
This commit is contained in:
zc he
2025-02-07 19:30:25 +08:00
committed by GitHub
parent 2ce5de58e6
commit fb8ac4198b
8 changed files with 13 additions and 13 deletions

View File

@ -42,7 +42,7 @@ impl<'a> ResourceInfo<'a> {
}
}
impl<'a> Default for ResourceInfo<'a> {
impl Default for ResourceInfo<'_> {
fn default() -> Self {
Self {
name: "file-size",