Skip to content

Commit fcf5bbb

Browse files
Fix inlay hints test snippet compilation
1 parent 5b1b2ca commit fcf5bbb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

crates/ra_ide/src/inlay_hints.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ fn main() {
376376
let mut start = 0;
377377
(0..2).for_each(|increment| {
378378
start += increment;
379-
})
379+
});
380380
381381
let multiply = |a, b, c, d| a * b * c * d;
382382
let _: i32 = multiply(1, 2, 3, 4);
@@ -399,37 +399,37 @@ fn main() {
399399
label: "i32",
400400
},
401401
InlayHint {
402-
range: [114; 122),
402+
range: [115; 123),
403403
kind: TypeHint,
404404
label: "|…| -> i32",
405405
},
406406
InlayHint {
407-
range: [126; 127),
407+
range: [127; 128),
408408
kind: TypeHint,
409409
label: "i32",
410410
},
411411
InlayHint {
412-
range: [129; 130),
412+
range: [130; 131),
413413
kind: TypeHint,
414414
label: "i32",
415415
},
416416
InlayHint {
417-
range: [132; 133),
417+
range: [133; 134),
418418
kind: TypeHint,
419419
label: "i32",
420420
},
421421
InlayHint {
422-
range: [135; 136),
422+
range: [136; 137),
423423
kind: TypeHint,
424424
label: "i32",
425425
},
426426
InlayHint {
427-
range: [200; 212),
427+
range: [201; 213),
428428
kind: TypeHint,
429429
label: "&|…| -> i32",
430430
},
431431
InlayHint {
432-
range: [235; 244),
432+
range: [236; 245),
433433
kind: TypeHint,
434434
label: "|| -> i32",
435435
},

0 commit comments

Comments
 (0)