Skip to content

Commit fbf63eb

Browse files
committed
add ignores
1 parent 1dd0767 commit fbf63eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rust-2021/prelude.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ As a part of the 2021 edition a migration lint, `rust_2021_prelude_collisions`,
3838

3939
In order to have rustfix migrate your code to be Rust 2021 Edition compatible, run:
4040

41-
```
41+
```ignore
4242
cargo fix --edition
4343
```
4444

@@ -69,7 +69,7 @@ A migration is necessary when using "dot method" syntax where the method name is
6969
in scope. For example, a call like `my_struct.into_iter()` where `into_iter()` used to refer to an inherent method on `MyStruct` but now conflicts with
7070
the trait method from `IntoIter`. To make these calls unambiguous, fully qualified inherent method syntax must be used:
7171

72-
```rust
72+
```rust,ignore
7373
// Before:
7474
my_struct.into_iter();
7575
// After:

0 commit comments

Comments
 (0)