diff options
| author | Who? Me?! <mark-i-m@users.noreply.github.com> | 2018-10-21 18:05:51 +0200 |
|---|---|---|
| committer | Who? Me?! <mark-i-m@users.noreply.github.com> | 2018-10-22 12:14:46 -0500 |
| commit | cafa8d8198845a88ced9973371ced7aca0118c1d (patch) | |
| tree | 39ecf65a2f88d2cb6d1892c09e4d1a7267c121b3 /src/doc/rustc-dev-guide | |
| parent | a041e9d1eebc62581d26fe067d464bbcebd1b0b6 (diff) | |
| download | rust-cafa8d8198845a88ced9973371ced7aca0118c1d.tar.gz rust-cafa8d8198845a88ced9973371ced7aca0118c1d.zip | |
Fix typo
Co-Authored-By: scalexm <alexandre@scalexm.fr>
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/traits/goals-and-clauses.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/traits/goals-and-clauses.md b/src/doc/rustc-dev-guide/src/traits/goals-and-clauses.md index 494ec5b8591..fb12c5a41a2 100644 --- a/src/doc/rustc-dev-guide/src/traits/goals-and-clauses.md +++ b/src/doc/rustc-dev-guide/src/traits/goals-and-clauses.md @@ -174,7 +174,7 @@ fn loud_insert<K>(set: &mut HashSet<K>, item: K) { ``` `HashSet<K>` is an input type of the `loud_insert` function. Hence, we assume it -to be well-formed, so we would have `FromEnv(HashSet<K>)` inside the body or our +to be well-formed, so we would have `FromEnv(HashSet<K>)` inside the body of our function. As we'll see in the section on lowering, `FromEnv(HashSet<K>)` implies `Implemented(K: Hash)` because the `HashSet` declaration was written with a `K: Hash` where clause. Hence, we don't |
