aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/init.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-10 15:35:35 +0900
committernsfisis <nsfisis@gmail.com>2026-05-10 15:35:35 +0900
commitdeb44112883ab7ff932b0ab7c547680a615c7821 (patch)
treea2f7f2416d8513eef064829e02689610e38760d3 /crates/mozart/src/commands/init.rs
parent46845eff8d1398f35099a0ef914f77bcaf473287 (diff)
downloadphp-mozart-deb44112883ab7ff932b0ab7c547680a615c7821.tar.gz
php-mozart-deb44112883ab7ff932b0ab7c547680a615c7821.tar.zst
php-mozart-deb44112883ab7ff932b0ab7c547680a615c7821.zip
refactor(clippy): deny clippy::unused_trait_names
Diffstat (limited to 'crates/mozart/src/commands/init.rs')
-rw-r--r--crates/mozart/src/commands/init.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/mozart/src/commands/init.rs b/crates/mozart/src/commands/init.rs
index 2008e8e..0e16054 100644
--- a/crates/mozart/src/commands/init.rs
+++ b/crates/mozart/src/commands/init.rs
@@ -1,6 +1,6 @@
-use anyhow::{Context, bail};
+use anyhow::{Context as _, bail};
use clap::Args;
-use colored::Colorize;
+use colored::Colorize as _;
use mozart_core::console::IoInterface;
use mozart_core::console_format;
use mozart_core::package::{
@@ -9,7 +9,7 @@ use mozart_core::package::{
use mozart_core::repository::{packagist, version};
use mozart_core::validation;
use std::collections::BTreeMap;
-use std::io::{BufRead, Write};
+use std::io::{BufRead as _, Write as _};
use std::path::Path;
use std::process::Command;
use std::sync::OnceLock;