diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2023-07-03 16:01:35 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2023-07-20 17:54:51 -0700 |
| commit | 615b58b9f987158e0d264b3f249339a9ebd70ca0 (patch) | |
| tree | 8e1c9befd0cb57ab7c86331ed36af64b6579191c /src/doc | |
| parent | cf4b20d7cc0e90843e0dc301658b163d1dc6493b (diff) | |
| download | rust-615b58b9f987158e0d264b3f249339a9ebd70ca0.tar.gz rust-615b58b9f987158e0d264b3f249339a9ebd70ca0.zip | |
style-guide: Fix an example to match the style
The style guide requires a trailing comma on where clause components, but then gives an example that doesn't include one. Add the missing trailing comma.
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/style-guide/src/items.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/style-guide/src/items.md b/src/doc/style-guide/src/items.md index 7b5e523d66e..ae8a36d68e2 100644 --- a/src/doc/style-guide/src/items.md +++ b/src/doc/style-guide/src/items.md @@ -366,7 +366,7 @@ where + Index<RangeTo<Idx>, Output = Self::Output> + Index<RangeFrom<Idx>, Output = Self::Output> + Index<RangeInclusive<Idx>, Output = Self::Output> - + Index<RangeToInclusive<Idx>, Output = Self::Output> + Index<RangeFull> + + Index<RangeToInclusive<Idx>, Output = Self::Output> + Index<RangeFull>, ``` ### Type aliases |
