File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 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=()>) {}
3333 on(
3434 _Self="[std::ops::Range<Idx>; 1]" ,
3535 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`"
3738 ) ,
3839 on(
3940 _Self="&str" ,
@@ -50,7 +51,8 @@ fn _assert_is_object_safe(_: &dyn Iterator<Item=()>) {}
5051 ) ,
5152 on(
5253 _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`"
5456 ) ,
5557 label="`{Self}` is not an iterator" ,
5658 message="`{Self}` is not an iterator"
You can’t perform that action at this time.
0 commit comments