Apply clippy::unused_trait_names lint

This commit is contained in:
Taiki Endo
2025-01-13 23:41:50 +09:00
parent 333ea3e9a4
commit b58c61fa21
3 changed files with 4 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ use std::{
collections::{BTreeMap, BTreeSet},
env,
ffi::OsStr,
io::Read,
io::Read as _,
path::Path,
sync::{LazyLock, RwLock},
time::Duration,
@@ -17,7 +17,7 @@ use install_action_internal_codegen::{
workspace_root, BaseManifest, HostPlatform, Manifest, ManifestDownloadInfo, ManifestRef,
ManifestTemplate, ManifestTemplateDownloadInfo, Manifests, Signing, SigningKind, Version,
};
use sha2::{Digest, Sha256};
use sha2::{Digest as _, Sha256};
use spdx::expression::{ExprNode, ExpressionReq, Operator};
fn main() -> Result<()> {

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0 OR MIT
use std::{env, fmt, io::Write, path::PathBuf};
use std::{env, fmt, io::Write as _, path::PathBuf};
use anyhow::Result;
use fs_err as fs;