diff --git a/src/ion/data_structures.rs b/src/ion/data_structures.rs index 780ca4cc..9dd5cb3b 100644 --- a/src/ion/data_structures.rs +++ b/src/ion/data_structures.rs @@ -468,10 +468,10 @@ pub struct Ctx { // single VReg at a single program point (this can happen for, // e.g., call args that use the same value multiple times), we // remove all but one of the fixed-register constraints, make a - // note here, and add a clobber with that PReg instread to keep + // note here, and add a clobber with that PReg instead to keep // the register available. When we produce the final edit-list, we // will insert a copy from wherever the VReg's primary allocation - // was to the approprate PReg. + // was to the appropriate PReg. pub(crate) multi_fixed_reg_fixups: Vec, pub(crate) allocated_bundle_count: usize, diff --git a/src/ion/moves.rs b/src/ion/moves.rs index 22685e53..ba500f60 100644 --- a/src/ion/moves.rs +++ b/src/ion/moves.rs @@ -119,8 +119,8 @@ impl<'a, F: Function> Env<'a, F> { self.prev_ins_idx } - /// Record this index as the next index to use when the previous liverange buffer - /// anvances. + /// Record this index as the next index to use when the previous + /// liverange buffer advances. #[inline(always)] fn update_blockparam_ins_idx(&mut self, idx: usize) { self.buffered_ins_idx = idx;