Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
Signed-off-by: hi-rustin <[email protected]>
  • Loading branch information
Rustin170506 committed Jan 29, 2022
1 parent 8906474 commit 8b8e918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/cargo/commands/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ pub fn exec(config: &mut Config, args: &ArgMatches) -> CliResult {
};
SourceId::for_git(&url, gitref)?
} else if let Some(path) = &path {
SourceId::for_path(&path)?
SourceId::for_path(path)?
} else if krates.is_empty() {
from_cwd = true;
SourceId::for_path(config.cwd())?
Expand Down

0 comments on commit 8b8e918

Please sign in to comment.