mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-03 15:24:22 +01:00
clippy
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user