Skip to content

Commit b0a3103

Browse files
committed
Fix warning with unused mut
This is caused by rust-lang/rust#110960
1 parent 393ce5b commit b0a3103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/compiler/unit_dependencies.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ pub fn build_unit_dependencies<'a, 'cfg>(
149149

150150
/// Compute all the dependencies for the standard library.
151151
fn calc_deps_of_std(
152-
mut state: &mut State<'_, '_>,
152+
state: &mut State<'_, '_>,
153153
std_roots: &HashMap<CompileKind, Vec<Unit>>,
154154
) -> CargoResult<Option<UnitGraph>> {
155155
if std_roots.is_empty() {

0 commit comments

Comments
 (0)