about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-02-25 00:41:38 -0500
committerJoshua Nelson <jyn514@gmail.com>2021-02-25 00:41:38 -0500
commit0ae4bf912e90bd85d65d52532470ec131ec3bf8a (patch)
tree77d40076eaa19530471796e012bee134960a08db
parenta8486b64b0c87dabd045453b6c81500015d122d6 (diff)
downloadrust-0ae4bf912e90bd85d65d52532470ec131ec3bf8a.tar.gz
rust-0ae4bf912e90bd85d65d52532470ec131ec3bf8a.zip
Fix typo in `param_env_reveal_all_normalized` #82510
This made the generated docs look strange: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.param_env_reveal_all_normalized
-rw-r--r--compiler/rustc_middle/src/query/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs
index 4207e2dea34..08841e84e51 100644
--- a/compiler/rustc_middle/src/query/mod.rs
+++ b/compiler/rustc_middle/src/query/mod.rs
@@ -956,7 +956,7 @@ rustc_queries! {
         desc { |tcx| "computing normalized predicates of `{}`", tcx.def_path_str(def_id) }
     }
 
-    /// Like `param_env`, but returns the `ParamEnv in `Reveal::All` mode.
+    /// Like `param_env`, but returns the `ParamEnv` in `Reveal::All` mode.
     /// Prefer this over `tcx.param_env(def_id).with_reveal_all_normalized(tcx)`,
     /// as this method is more efficient.
     query param_env_reveal_all_normalized(def_id: DefId) -> ty::ParamEnv<'tcx> {