diff options
| author | Ellen <supbscripter@gmail.com> | 2021-07-24 17:32:02 +0100 |
|---|---|---|
| committer | Ellen <supbscripter@gmail.com> | 2021-07-24 17:32:11 +0100 |
| commit | d1e5e72f7d25cc60ccfc54d3cd3e1ef3efa3dab9 (patch) | |
| tree | 735ff4293453b70ec38f07f6f0586f8683904a02 | |
| parent | abfd44d8a3b13d56dc0c7904c35a8155a62f19fb (diff) | |
| download | rust-d1e5e72f7d25cc60ccfc54d3cd3e1ef3efa3dab9.tar.gz rust-d1e5e72f7d25cc60ccfc54d3cd3e1ef3efa3dab9.zip | |
change doc comment
| -rw-r--r-- | compiler/rustc_hir/src/hir.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir/src/hir.rs b/compiler/rustc_hir/src/hir.rs index 04c29c50e75..f3f2b83c821 100644 --- a/compiler/rustc_hir/src/hir.rs +++ b/compiler/rustc_hir/src/hir.rs @@ -1424,7 +1424,7 @@ pub type Lit = Spanned<LitKind>; /// explicit discriminant values for enum variants. /// /// You can check if this anon const is a default in a const param -/// `const N: usize = { ... }` with [Map::opt_const_param_default_param_hir_id] +/// `const N: usize = { ... }` with `tcx.hir().opt_const_param_default_param_hir_id(..)` #[derive(Copy, Clone, PartialEq, Eq, Encodable, Debug, HashStable_Generic)] pub struct AnonConst { pub hir_id: HirId, |
