Skip to content

Commit 2b4c6d9

Browse files
authored
Minor fix (#4)
1 parent 0d97f40 commit 2b4c6d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/verus.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ use cargo_metadata::CrateType;
1515

1616
use crate::commands::CargoBuildExterns;
1717
use crate::generator::Generative;
18-
use crate::projects::get_root;
1918
use crate::{
2019
commands, dep_tree, executable, files, fingerprint, generator, projects, serialization,
2120
};
@@ -1322,7 +1321,7 @@ pub mod install {
13221321
return Err("HEAD is not a branch. Cannot pull.".into());
13231322
}
13241323

1325-
let branch_name = head.shorthand().ok_or("Could not get branch name")?;
1324+
let _ = head.shorthand().ok_or("Could not get branch name")?;
13261325
let local_commit = head.peel_to_commit()?;
13271326

13281327
// Find the matching remote branch

0 commit comments

Comments
 (0)