We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79ad2b8 commit eeef8d3Copy full SHA for eeef8d3
src/typing_parameter_envs/typing_parameter_envs.md
@@ -39,7 +39,7 @@ A more concrete example:
39
// `foo` would have a `ParamEnv` of:
40
// `[T: Sized, T: Clone]`
41
fn foo<T: Clone>(a: T) {
42
- // when typechecking `foo` we require all the where clauses on `bar`
+ // when typechecking `foo` we require all the where clauses on `requires_clone`
43
// to hold in order for it to be legal to call. This means we have to
44
// prove `T: Clone`. As we are type checking `foo` we use `foo`'s
45
// environment when trying to check that `T: Clone` holds.
0 commit comments