Skip to content

Commit b766f3f

Browse files
authored
Merge pull request #380 from rust-lang/dependabot/cargo/tempfile-3.20.0
build(deps): bump tempfile from 3.19.0 to 3.20.0
2 parents 49f1f37 + ab654d1 commit b766f3f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ serde_json = "1.0"
2828
clap = { version = "4.5", features = ["derive", "wrap_help"] }
2929
tar = "0.4"
3030
tee = "0.1"
31-
tempfile = "3"
31+
tempfile = "3.20.0"
3232
xz2 = "0.1.7"
3333
chrono = "0.4.22"
3434
colored = "3"

src/toolchains.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ impl Toolchain {
208208
})?;
209209
}
210210

211-
fs::rename(tmpdir.into_path(), dest).map_err(InstallError::Move)
211+
fs::rename(tmpdir.keep(), dest).map_err(InstallError::Move)
212212
}
213213

214214
pub(crate) fn remove(&self, dl_params: &DownloadParams) -> io::Result<()> {

0 commit comments

Comments
 (0)