Skip to content

Commit a0fd68b

Browse files
committed
fix tidy
1 parent 2305d02 commit a0fd68b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/libcore/iter/iterator.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)