We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4c0d39 commit d954a43Copy full SHA for d954a43
src/cargo/sources/git/known_hosts.rs
@@ -100,7 +100,7 @@ enum KnownHostError {
100
101
impl From<anyhow::Error> for KnownHostError {
102
fn from(err: anyhow::Error) -> KnownHostError {
103
- KnownHostError::CheckError(err.into())
+ KnownHostError::CheckError(err)
104
}
105
106
src/cargo/sources/git/utils.rs
@@ -1187,7 +1187,7 @@ fn fetch_with_gitoxide(
1187
);
1188
let outcome = connection
1189
.prepare_fetch(&mut progress, gix::remote::ref_map::Options::default())?
1190
- .with_shallow(shallow.clone().into())
+ .with_shallow(shallow.clone())
1191
.receive(&mut progress, should_interrupt)?;
1192
Ok(outcome)
1193
});
0 commit comments