Skip to content

Commit 060ae4f

Browse files
committed
fix: make clippy happy
1 parent 5f7b6ef commit 060ae4f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

crates/cli/build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ fn main() {
88
filename: Path::new(".env.build"),
99
recursive_search: false,
1010
fail_if_missing_dotenv: true,
11-
..Default::default()
1211
})
1312
.unwrap();
1413
}

crates/cli/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ use std::sync::Arc;
1717
fn cli() -> Command {
1818
Command::new("edge-runtime")
1919
.about("A server based on Deno runtime, capable of running JavaScript, TypeScript, and WASM services")
20-
.version(String::from(format!(
20+
.version(format!(
2121
"{}\ndeno {} ({}, {})",
2222
crate_version!(),
2323
env!("DENO_VERSION"),
2424
env!("PROFILE"),
2525
env!("TARGET")
26-
)))
26+
))
2727
.arg_required_else_help(true)
2828
.arg(
2929
arg!(-v --verbose "Use verbose output")

0 commit comments

Comments
 (0)