Skip to content

Commit 4404ca0

Browse files
committed
typo: note -> node
1 parent 2b68764 commit 4404ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_ssa/src/mir/constant.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
8484
.map(|val| {
8585
// Depending on whether this is a SIMD type with an array field
8686
// or a type with many fields (one for each elements), the valtree
87-
// is either a single branch with N children, or a root note
87+
// is either a single branch with N children, or a root node
8888
// with exactly one child which then in turn has many children.
8989
// So we look at the first child to determine whether it is a
9090
// leaf or whether we have to go one more layer down.

0 commit comments

Comments
 (0)