diff options
| author | lcnr <rust@lcnr.de> | 2024-11-18 10:50:14 +0100 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2024-11-18 10:50:14 +0100 |
| commit | 2e087d2eaac31863c55f67bc22d15d77b96c6fc3 (patch) | |
| tree | c90a39bb9986e1caeaa41915807406c0ae36befa /compiler/rustc_infer/src | |
| parent | 9cba14b95bb07a5b31ed1aac2bf4eadd248232da (diff) | |
| download | rust-2e087d2eaac31863c55f67bc22d15d77b96c6fc3.tar.gz rust-2e087d2eaac31863c55f67bc22d15d77b96c6fc3.zip | |
review
Diffstat (limited to 'compiler/rustc_infer/src')
| -rw-r--r-- | compiler/rustc_infer/src/infer/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_infer/src/infer/mod.rs b/compiler/rustc_infer/src/infer/mod.rs index fc3b9863acc..b29dc7f909d 100644 --- a/compiler/rustc_infer/src/infer/mod.rs +++ b/compiler/rustc_infer/src/infer/mod.rs @@ -1286,7 +1286,7 @@ impl<'tcx> InferCtxt<'tcx> { u } - /// Extract [ty::TypingMode] of this inference context to get a `TypingEnv` + /// Extract [`ty::TypingMode`] of this inference context to get a `TypingEnv` /// which contains the necessary information to use the trait system without /// using canonicalization or carrying this inference context around. pub fn typing_env(&self, param_env: ty::ParamEnv<'tcx>) -> ty::TypingEnv<'tcx> { @@ -1304,8 +1304,8 @@ impl<'tcx> InferCtxt<'tcx> { ty::TypingEnv { typing_mode, param_env } } - /// Similar to [Self::canonicalize_query], except that it returns - /// a [PseudoCanonicalInput] and requires both the `value` and the + /// Similar to [`Self::canonicalize_query`], except that it returns + /// a [`PseudoCanonicalInput`] and requires both the `value` and the /// `param_env` to not contain any inference variables or placeholders. pub fn pseudo_canonicalize_query<V>( &self, |
