Skip to content

Commit 5741fff

Browse files
authored
Merge pull request #3452 from rbtcollins/install-lifetime
Return the right lifetime from DistributableToolchain::install
2 parents f7c01b0 + eec97f3 commit 5741fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/toolchain/distributable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ impl<'a> DistributableToolchain<'a> {
320320
targets: &[&str],
321321
profile: Profile,
322322
force: bool,
323-
) -> anyhow::Result<(UpdateStatus, Self)> {
323+
) -> anyhow::Result<(UpdateStatus, DistributableToolchain<'a>)> {
324324
let hash_path = cfg.get_hash_file(desc, true)?;
325325
let update_hash = Some(&hash_path as &Path);
326326

0 commit comments

Comments
 (0)