Rollup merge of #24170 - omo:omo-typo-fix, r=steveklabnik
Can anyone take a look? Very trivial.
This commit is contained in:
commit
ce825ab37b
1 changed files with 1 additions and 1 deletions
|
@ -198,5 +198,5 @@ let obj = Box::new(graph) as Box<Graph<N=Node, E=Edge>>;
|
||||||
```
|
```
|
||||||
|
|
||||||
The `N=Node` syntax allows us to provide a concrete type, `Node`, for the `N`
|
The `N=Node` syntax allows us to provide a concrete type, `Node`, for the `N`
|
||||||
type parameter. Same with `E=Edge`. If we didn’t proide this constraint, we
|
type parameter. Same with `E=Edge`. If we didn’t provide this constraint, we
|
||||||
couldn’t be sure which `impl` to match this trait object to.
|
couldn’t be sure which `impl` to match this trait object to.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue