Skip to content

Commit c263731

Browse files
committed
Fix clippy warning
1 parent 2157559 commit c263731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ impl InputAction {
705705
cargo(
706706
cmd,
707707
&*self.manifest_path().to_string_lossy(),
708-
self.toolchain_version.as_ref().map(|s| s.as_str()),
708+
self.toolchain_version.as_deref(),
709709
&self.metadata,
710710
script_args,
711711
run_quietly,

0 commit comments

Comments
 (0)