Skip to content

Commit 4e63942

Browse files
committed
make clippy happy
1 parent c766130 commit 4e63942

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

rewatch/src/build/compile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ pub fn compiler_args(
496496
.collect()
497497
};
498498

499-
Ok(vec![
499+
Ok([
500500
base_args,
501501
read_cmi_args,
502502
// vec!["-warn-error".to_string(), "A".to_string()],

rewatch/src/mcp.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ impl Router for RewatchMcp {
7676
}
7777
}
7878
other => Err(mcp_spec::handler::ToolError::NotFound(format!(
79-
"Unknown tool: {}",
80-
other
79+
"Unknown tool: {other}"
8180
))),
8281
}
8382
})

0 commit comments

Comments
 (0)