Skip to content

Commit aa3d9ca

Browse files
committed
Rename HAIR to THIR (Typed HIR).
1 parent 133e1d6 commit aa3d9ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/utils/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ pub fn is_ctor_or_promotable_const_function(cx: &LateContext<'_>, expr: &Expr<'_
883883
}
884884

885885
/// Returns `true` if a pattern is refutable.
886-
// TODO: should be implemented using rustc/mir_build/hair machinery
886+
// TODO: should be implemented using rustc/mir_build/thir machinery
887887
pub fn is_refutable(cx: &LateContext<'_>, pat: &Pat<'_>) -> bool {
888888
fn is_enum_variant(cx: &LateContext<'_>, qpath: &QPath<'_>, id: HirId) -> bool {
889889
matches!(

0 commit comments

Comments
 (0)