Skip to content

Commit baa5e10

Browse files
committed
make clippy happy
1 parent 87ad0f7 commit baa5e10

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
@@ -495,7 +495,7 @@ pub fn compiler_args(
495495
.collect()
496496
};
497497

498-
Ok(vec![
498+
Ok([
499499
base_args,
500500
read_cmi_args,
501501
// 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)