Skip to content

Commit 42e53ff

Browse files
authored
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
2 parents 4fdca6a + 0ae4bf9 commit 42e53ff

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/query

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/query/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ rustc_queries! {
956956
desc { |tcx| "computing normalized predicates of `{}`", tcx.def_path_str(def_id) }
957957
}
958958

959-
/// Like `param_env`, but returns the `ParamEnv in `Reveal::All` mode.
959+
/// Like `param_env`, but returns the `ParamEnv` in `Reveal::All` mode.
960960
/// Prefer this over `tcx.param_env(def_id).with_reveal_all_normalized(tcx)`,
961961
/// as this method is more efficient.
962962
query param_env_reveal_all_normalized(def_id: DefId) -> ty::ParamEnv<'tcx> {

0 commit comments

Comments
 (0)