Skip to content

Commit d1e5e72

Browse files
committed
change doc comment
1 parent abfd44d commit d1e5e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir/src/hir.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ pub type Lit = Spanned<LitKind>;
14241424
/// explicit discriminant values for enum variants.
14251425
///
14261426
/// You can check if this anon const is a default in a const param
1427-
/// `const N: usize = { ... }` with [Map::opt_const_param_default_param_hir_id]
1427+
/// `const N: usize = { ... }` with `tcx.hir().opt_const_param_default_param_hir_id(..)`
14281428
#[derive(Copy, Clone, PartialEq, Eq, Encodable, Debug, HashStable_Generic)]
14291429
pub struct AnonConst {
14301430
pub hir_id: HirId,

0 commit comments

Comments
 (0)