Skip to content

Commit ce4ffb3

Browse files
committed
fix broken link
1 parent 16d12b4 commit ce4ffb3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/rust-2021/disjoint-capture-in-closures.md

-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ Changing the variables captured by a closure can cause programs to change behavi
3535
- changes to drop order, or when destructors run ([details](#drop-order));
3636
- changes to which traits a closure implements ([details](#trait-implementations)).
3737

38-
When running `cargo fix --edition`, Cargo will update the closures in your code to help you migrate to Rust 2021, as described below in [Migrations](#migrations).
39-
4038
Whenever any of the scenarios below are detected, `cargo fix` will insert a "dummy let" into your closure to force it to capture the entire variable:
4139

4240
```rust

0 commit comments

Comments
 (0)