Removed lifetime parameters from Explanation of E0207 #62144

This commit is contained in:
Ayush Kumar Mishra 2020-06-08 17:15:48 +05:30
parent 7355816093
commit b7f25d512c

View File

@ -1,4 +1,4 @@
A type or lifetime parameter that is specified for `impl` is not constrained.
A type parameter that is specified for `impl` is not constrained.
Erroneous code example:
@ -14,7 +14,7 @@ impl<T: Default> Foo {
}
```
Any type parameter or lifetime parameter of an `impl` must meet at least one of
Any type parameter parameter of an `impl` must meet at least one of
the following criteria:
- it appears in the _implementing type_ of the impl, e.g. `impl<T> Foo<T>`