Skip to content

Commit 8b8e918

Browse files
committed
Make clippy happy
Signed-off-by: hi-rustin <[email protected]>
1 parent 8906474 commit 8b8e918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/cargo/commands/install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ pub fn exec(config: &mut Config, args: &ArgMatches) -> CliResult {
116116
};
117117
SourceId::for_git(&url, gitref)?
118118
} else if let Some(path) = &path {
119-
SourceId::for_path(&path)?
119+
SourceId::for_path(path)?
120120
} else if krates.is_empty() {
121121
from_cwd = true;
122122
SourceId::for_path(config.cwd())?

0 commit comments

Comments
 (0)