Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit f3f5ad4

Browse files
committed
Fix intra-doc links
1 parent 3f50639 commit f3f5ad4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_middle/src/ty/consts.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@ impl<'tcx> rustc_type_ir::inherent::Const<TyCtxt<'tcx>> for Const<'tcx> {
185185
impl<'tcx> Const<'tcx> {
186186
/// Convert a [`hir::ConstArg`] to a [`ty::Const`](Self).
187187
///
188-
/// `param_def_id` is the [`DefId`] of the declared param that this [`ConstArg`] is being
189-
/// supplied to. We need this in case this `ConstArg` is a [`ConstArgKind::Anon`]
190-
/// so we can tell the [`AnonConst`] what type it should be.
188+
/// `param_def_id` is the [`DefId`] of the declared param that this [`hir::ConstArg`] is being
189+
/// supplied to. We need this in case this `ConstArg` is a [`hir::ConstArgKind::Anon`]
190+
/// so we can tell the [`hir::AnonConst`] what type it should be.
191191
#[instrument(skip(tcx), level = "debug")]
192192
pub fn from_const_arg(
193193
tcx: TyCtxt<'tcx>,

0 commit comments

Comments
 (0)