Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
richarddavison committed Dec 18, 2024
1 parent b504979 commit 0cafc7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions llrt/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ async fn main() -> Result<(), Box<dyn Error + Send + Sync>> {
Ok(())
}

pub const VERSION_STRING: &'static str =
concat!("LLRT v", VERSION, " (", PLATFORM, ", ", ARCH, ")");
pub const VERSION_STRING: &str = concat!("LLRT v", VERSION, " (", PLATFORM, ", ", ARCH, ")");

fn print_version() {
println!("{VERSION_STRING}");
Expand Down
4 changes: 2 additions & 2 deletions llrt/src/repl.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::{
collections::VecDeque,
env, fs,
io::{stdout, IsTerminal, Read},
io::{stdout, IsTerminal},
path::{Path, PathBuf},
};

Expand All @@ -14,7 +14,7 @@ use crossterm::{
};
use llrt_core::{
async_with, atom::PredefinedAtom, context::EvalOptions, function::Rest, modules::console,
AsyncContext, CatchResultExt, Ctx, Error, Object, Promise, Value,
AsyncContext, CatchResultExt, Ctx, Error, Object, Promise,
};
use llrt_utils::{error::ErrorExtensions, result::ResultExt};

Expand Down

0 comments on commit 0cafc7f

Please sign in to comment.