File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ fn _assert_is_object_safe(_: &dyn Iterator<Item=()>) {}
33
33
on(
34
34
_Self="[std::ops::Range<Idx>; 1]" ,
35
35
label="if you meant to iterate between two values, remove the square brackets" ,
36
- note="`[start..end]` is an array of one `Range`, you might have meant to have a `Range`: `start..end`"
36
+ note="`[start..end]` is an array of one `Range`, you might have meant to have a `Range`: \
37
+ `start..end`"
37
38
) ,
38
39
on(
39
40
_Self="&str" ,
@@ -50,7 +51,8 @@ fn _assert_is_object_safe(_: &dyn Iterator<Item=()>) {}
50
51
) ,
51
52
on(
52
53
_Self="{integral}" ,
53
- note="if you want to iterate between `0` until a value `end`, use the range syntax: `0..end`"
54
+ note="if you want to iterate between `0` until a value `end`, use the range syntax: \
55
+ `0..end`"
54
56
) ,
55
57
label="`{Self}` is not an iterator" ,
56
58
message="`{Self}` is not an iterator"
You can’t perform that action at this time.
0 commit comments