about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHal Gentz <zegentzy@protonmail.com>2019-09-03 01:28:33 -0600
committerGitHub <noreply@github.com>2019-09-03 01:28:33 -0600
commitff63bf8fc7a19ca27b3d43aa36036f8e77567b20 (patch)
tree768d781a2384f144df3a09a421bec6321cd45c29
parentb50520835f3b14409797139eca23f401a529e711 (diff)
downloadrust-ff63bf8fc7a19ca27b3d43aa36036f8e77567b20.tar.gz
rust-ff63bf8fc7a19ca27b3d43aa36036f8e77567b20.zip
Fix minor typo in docs.
-rw-r--r--src/librustc_mir/const_eval.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/const_eval.rs b/src/librustc_mir/const_eval.rs
index 5aa487d9016..a745559d851 100644
--- a/src/librustc_mir/const_eval.rs
+++ b/src/librustc_mir/const_eval.rs
@@ -589,7 +589,7 @@ pub fn const_eval_provider<'tcx>(
     tcx: TyCtxt<'tcx>,
     key: ty::ParamEnvAnd<'tcx, GlobalId<'tcx>>,
 ) -> ::rustc::mir::interpret::ConstEvalResult<'tcx> {
-    // see comment in const_eval_provider for what we're doing here
+    // see comment in const_eval_raw_provider for what we're doing here
     if key.param_env.reveal == Reveal::All {
         let mut key = key.clone();
         key.param_env.reveal = Reveal::UserFacing;