From c427c46cd2f35a7ead22cf71fb7865dff9c0a419 Mon Sep 17 00:00:00 2001 From: Ihor Andrianov Date: Wed, 12 Feb 2025 03:35:16 +0200 Subject: [PATCH] clippy --- cli/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/main.rs b/cli/main.rs index 63a45d7d9..566cb2d48 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -4,7 +4,7 @@ mod import; mod opcodes_dictionary; use rustyline::{error::ReadlineError, DefaultEditor}; -use std::{io::IsTerminal, sync::atomic::Ordering}; +use std::sync::atomic::Ordering; fn main() -> anyhow::Result<()> { env_logger::init(); @@ -15,7 +15,6 @@ fn main() -> anyhow::Result<()> { if history_file.exists() { rl.load_history(history_file.as_path())?; } - let is_terminal = std::io::stdin().is_terminal(); loop { let readline = rl.readline(&app.prompt); match readline {