aboutsummaryrefslogtreecommitdiff
path: root/tool/src
diff options
context:
space:
mode:
Diffstat (limited to 'tool/src')
-rw-r--r--tool/src/add.rs2
-rw-r--r--tool/src/cli.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tool/src/add.rs b/tool/src/add.rs
index 04328b2..d5e7180 100644
--- a/tool/src/add.rs
+++ b/tool/src/add.rs
@@ -45,7 +45,7 @@ pub async fn add(action: Action) -> anyhow::Result<()> {
}
let correct = FuzzySelect::with_theme(&theme)
- .items(&results)
+ .items(&*results)
.default(0)
.with_prompt("Metadata Source")
.interact_opt()
diff --git a/tool/src/cli.rs b/tool/src/cli.rs
index a01c9dd..2731506 100644
--- a/tool/src/cli.rs
+++ b/tool/src/cli.rs
@@ -3,7 +3,7 @@
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2025 metamuffin <metamuffin.org>
*/
-use clap::{arg, Parser, ValueEnum};
+use clap::{Parser, ValueEnum};
use std::path::PathBuf;
pub type Args = Action;