Skip to content

Commit 7b06f9e

Browse files
authored
Merge pull request #2229 from DanielEScherzer/items.fn.generics.param-bounds
Clarify items.fn.generics.param-bounds
2 parents 18d4246 + 49135a5 commit 7b06f9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/items/functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ r[items.fn.generics.param-names]
122122
Inside the function signature and body, the name of the type parameter can be used as a type name.
123123

124124
r[items.fn.generics.param-bounds]
125-
[Trait] bounds can be specified for type parameters to allow methods with that trait to be called on values of that type. This is specified using the `where` syntax:
125+
[Trait] bounds can be specified for type parameters to allow methods from that trait to be called on values of that type. This is specified using the `where` syntax:
126126

127127
```rust
128128
# use std::fmt::Debug;

0 commit comments

Comments
 (0)