aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_assists/src/handlers
diff options
context:
space:
mode:
authorLuiz Carlos Mourão Paes de Carvalho <[email protected]>2021-03-12 11:53:57 +0000
committerLuiz Carlos Mourão Paes de Carvalho <[email protected]>2021-03-12 11:53:57 +0000
commite505752442f849c7d37465f0e0b6aa042644787b (patch)
treefbbc024c6b6d296a93d7f5203e763e62d2cbef21 /crates/ide_assists/src/handlers
parent7a9230acdfe900d9e42f0b8cd37e4a7db6d8ff18 (diff)
fix: generated test fixture
Diffstat (limited to 'crates/ide_assists/src/handlers')
-rw-r--r--crates/ide_assists/src/handlers/convert_iter_for_each_to_for.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide_assists/src/handlers/convert_iter_for_each_to_for.rs b/crates/ide_assists/src/handlers/convert_iter_for_each_to_for.rs
index 661a3fbeb..ed15f169e 100644
--- a/crates/ide_assists/src/handlers/convert_iter_for_each_to_for.rs
+++ b/crates/ide_assists/src/handlers/convert_iter_for_each_to_for.rs
@@ -10,7 +10,7 @@ use crate::{AssistContext, AssistId, AssistKind, Assists};
10// 10//
11// Converts an Iterator::for_each function into a for loop. 11// Converts an Iterator::for_each function into a for loop.
12// 12//
13// ```rust 13// ```
14// fn main() { 14// fn main() {
15// let vec = vec![(1, 2), (2, 3), (3, 4)]; 15// let vec = vec![(1, 2), (2, 3), (3, 4)];
16// x.iter().for_each(|(x, y)| { 16// x.iter().for_each(|(x, y)| {
@@ -19,7 +19,7 @@ use crate::{AssistContext, AssistId, AssistKind, Assists};
19// } 19// }
20// ``` 20// ```
21// -> 21// ->
22// ```rust 22// ```
23// fn main() { 23// fn main() {
24// let vec = vec![(1, 2), (2, 3), (3, 4)]; 24// let vec = vec![(1, 2), (2, 3), (3, 4)];
25// for (x, y) in x.iter() { 25// for (x, y) in x.iter() {