about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-12 16:32:27 +0100
committerGitHub <noreply@github.com>2020-03-12 16:32:27 +0100
commit9463cf3361d14d435263c3d3cd651c985cbbc485 (patch)
tree927ba9a9388c1384392cd56cfbde1f5a74eb935c
parent841f212b504d80b6992ce2e3a5a489e021d5409d (diff)
parentd7100d60999c1e339ec536c3321b98e0f2b9e8b3 (diff)
downloadrust-9463cf3361d14d435263c3d3cd651c985cbbc485.tar.gz
rust-9463cf3361d14d435263c3d3cd651c985cbbc485.zip
Rollup merge of #69945 - contrun:fix-outdated-comment, r=petrochenkov
update outdated comment
-rw-r--r--src/librustc_typeck/constrained_generic_params.rs2
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