mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Fix warning with unused mut
This is caused by https://github.com/rust-lang/rust/pull/110960
This commit is contained in:
parent
393ce5b416
commit
b0a31036a6
@ -149,7 +149,7 @@ pub fn build_unit_dependencies<'a, 'cfg>(
|
||||
|
||||
/// Compute all the dependencies for the standard library.
|
||||
fn calc_deps_of_std(
|
||||
mut state: &mut State<'_, '_>,
|
||||
state: &mut State<'_, '_>,
|
||||
std_roots: &HashMap<CompileKind, Vec<Unit>>,
|
||||
) -> CargoResult<Option<UnitGraph>> {
|
||||
if std_roots.is_empty() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user