diff options
| author | YI <uuuuuu@protonmail.com> | 2020-03-12 18:43:51 +0800 |
|---|---|---|
| committer | YI <uuuuuu@protonmail.com> | 2020-03-12 18:43:51 +0800 |
| commit | d7100d60999c1e339ec536c3321b98e0f2b9e8b3 (patch) | |
| tree | ba1f4cd8effd86f13294d2e5f6ad9f8bada118d1 | |
| parent | 3dbade652ed8ebac70f903e01f51cd92c4e4302c (diff) | |
| download | rust-d7100d60999c1e339ec536c3321b98e0f2b9e8b3.tar.gz rust-d7100d60999c1e339ec536c3321b98e0f2b9e8b3.zip | |
update outdated comment
| -rw-r--r-- | src/librustc_typeck/constrained_generic_params.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_typeck/constrained_generic_params.rs b/src/librustc_typeck/constrained_generic_params.rs index 9b187d461cd..aff3768e35c 100644 --- a/src/librustc_typeck/constrained_generic_params.rs +++ b/src/librustc_typeck/constrained_generic_params.rs @@ -36,7 +36,7 @@ pub fn parameters_for_impl<'tcx>( vec.into_iter().collect() } -/// If `include_projections` is false, returns the list of parameters that are +/// If `include_nonconstraining` is false, returns the list of parameters that are /// constrained by `t` - i.e., the value of each parameter in the list is /// uniquely determined by `t` (see RFC 447). If it is true, return the list /// of parameters whose values are needed in order to constrain `ty` - these |
