Skip to content

Commit

Permalink
Fix bad replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
mejrs committed Nov 15, 2022
1 parent a14aafa commit 139bc67
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! This module provides lowering from [hir_def::expr::Pat] to [self::Pat] and match
//! checking algorithm.
//!
//! It is modeled on the rustc module `rustc_mir_build_thir::pattern`.
//! It is modeled on the rustc module `rustc_mir_build::thir::pattern`.

mod pat_util;

Expand Down Expand Up @@ -50,7 +50,7 @@ pub(crate) struct Pat {
pub(crate) kind: Box<PatKind>,
}

/// Close relative to `rustc_mir_build_thir::pattern::PatKind`
/// Close relative to `rustc_mir_build::thir::pattern::PatKind`
#[derive(Clone, Debug, PartialEq)]
pub(crate) enum PatKind {
Wild,
Expand Down

0 comments on commit 139bc67

Please sign in to comment.