feat: 7125 code snippets are wrapped in backticks
This commit is contained in:
parent
bce869f0c0
commit
f9c6335a0f
2 changed files with 5 additions and 5 deletions
|
|
@ -32,25 +32,25 @@ LL + dbg!(item);
|
|||
LL + }
|
||||
|
|
||||
|
||||
error: this loops only once with item being 0..5
|
||||
error: this loops only once with `item` being `0..5`
|
||||
--> $DIR/single_element_loop.rs:16:17
|
||||
|
|
||||
LL | for item in &[0..5] {
|
||||
| ^^^^^^^ help: did you mean to iterate over the range instead?: `0..5`
|
||||
|
||||
error: this loops only once with item being 0..5
|
||||
error: this loops only once with `item` being `0..5`
|
||||
--> $DIR/single_element_loop.rs:20:17
|
||||
|
|
||||
LL | for item in [0..5].iter_mut() {
|
||||
| ^^^^^^^^^^^^^^^^^ help: did you mean to iterate over the range instead?: `0..5`
|
||||
|
||||
error: this loops only once with item being 0..5
|
||||
error: this loops only once with `item` being `0..5`
|
||||
--> $DIR/single_element_loop.rs:24:17
|
||||
|
|
||||
LL | for item in [0..5] {
|
||||
| ^^^^^^ help: did you mean to iterate over the range instead?: `0..5`
|
||||
|
||||
error: this loops only once with item being 0..5
|
||||
error: this loops only once with `item` being `0..5`
|
||||
--> $DIR/single_element_loop.rs:28:17
|
||||
|
|
||||
LL | for item in [0..5].into_iter() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue