Skip to content

Commit fec814c

Browse files
lcnrehuss
andauthored
Update src/items/generics.md
Co-authored-by: Eric Huss <eric@huss.org>
1 parent 1c55d27 commit fec814c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/generics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ implementations may be *parameterized* by types, constants and lifetimes. These
3232
parameters are listed in angle <span class="parenthetical">brackets (`<...>`)</span>,
3333
usually immediately after the name of the item and before its definition. For
3434
implementations, which don't have a name, they come directly after `impl`.
35-
The order of generic parameters is restricted to lifetime parameters, then type parameters and then const parameters.
35+
The order of generic parameters is restricted to lifetime parameters, then type parameters, and then const parameters.
3636

3737
The only allowed types of const parameters are `u8`, `u16`, `u32`, `u64`, `u128`, `usize`
3838
`i8`, `i16`, `i32`, `i64`, `i128`, `isize`, `char` and `bool`.

0 commit comments

Comments
 (0)