Skip to content

Commit 49135a5

Browse files
Clarify items.fn.generics.param-bounds
"methods with that trait" does not really make sense when talking about methods that a trait provides - use "methods from that trait" instead.
1 parent 18d4246 commit 49135a5

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)