diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-02-25 16:06:26 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-25 16:06:26 -0500 |
| commit | 42e53ff8adf8a4c7ab8d5f87816e30405a1ec9e2 (patch) | |
| tree | c53ca0c588422e538c94226dcb0a3f81c86c433a /compiler/rustc_middle/src/query | |
| parent | 4fdca6aaef6bab73afe8e2a76732a5a8cf4e2037 (diff) | |
| parent | 0ae4bf912e90bd85d65d52532470ec131ec3bf8a (diff) | |
| download | rust-42e53ff8adf8a4c7ab8d5f87816e30405a1ec9e2.tar.gz rust-42e53ff8adf8a4c7ab8d5f87816e30405a1ec9e2.zip | |
Rollup merge of #82510 - jyn514:fix-typo, r=Dylan-DPC
Fix typo in `param_env_reveal_all_normalized` 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
Diffstat (limited to 'compiler/rustc_middle/src/query')
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 2 |
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 a1c45c0b35c..a8600af1de2 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> { |
