Skip to content

Commit eeef8d3

Browse files
authored
s/bar/requires_clone
1 parent 79ad2b8 commit eeef8d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/typing_parameter_envs/typing_parameter_envs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ A more concrete example:
3939
// `foo` would have a `ParamEnv` of:
4040
// `[T: Sized, T: Clone]`
4141
fn foo<T: Clone>(a: T) {
42-
// when typechecking `foo` we require all the where clauses on `bar`
42+
// when typechecking `foo` we require all the where clauses on `requires_clone`
4343
// to hold in order for it to be legal to call. This means we have to
4444
// prove `T: Clone`. As we are type checking `foo` we use `foo`'s
4545
// environment when trying to check that `T: Clone` holds.

0 commit comments

Comments
 (0)