Skip to content

Commit 144e8a3

Browse files
committed
style-guide: Fix example to match the rule it exemplifies (and match rustfmt)
An example immediately following "Put each bound on its own line." did not put each bound on its own line.
1 parent 69d29a7 commit 144e8a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/style-guide/src/items.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ where
369369
+ Index<RangeTo<Idx>, Output = Self::Output>
370370
+ Index<RangeFrom<Idx>, Output = Self::Output>
371371
+ Index<RangeInclusive<Idx>, Output = Self::Output>
372-
+ Index<RangeToInclusive<Idx>, Output = Self::Output> + Index<RangeFull>,
372+
+ Index<RangeToInclusive<Idx>, Output = Self::Output>
373+
+ Index<RangeFull>,
373374
```
374375

375376
### Type aliases

0 commit comments

Comments
 (0)