diff --git a/lib/codegen/src/regalloc/virtregs.rs b/lib/codegen/src/regalloc/virtregs.rs index 5d8992a179..55fece93c1 100644 --- a/lib/codegen/src/regalloc/virtregs.rs +++ b/lib/codegen/src/regalloc/virtregs.rs @@ -280,7 +280,7 @@ impl UFEntry { /// 2. When done, call `finish_union_find()` to construct the virtual register sets based on the /// `union()` calls. /// -/// The values that were passed to `union(a, b)` mist not belong to any existing virtual registers +/// The values that were passed to `union(a, b)` must not belong to any existing virtual registers /// by the time `finish_union_find()` is called. /// /// For more information on the algorithm implemented here, see Chapter 21 "Data Structures for