Rename 'an block' to 'a block'

Missed this in the automatic rename of 'Ebb' to 'Block'.
This commit is contained in:
Ryan Hunt
2020-03-03 13:17:30 -06:00
parent 77e17d8f71
commit 07f335dca6
31 changed files with 96 additions and 96 deletions

View File

@@ -40,11 +40,11 @@ pub struct FunctionBuilder<'a> {
#[derive(Clone, Default)]
struct BlockData {
/// An Block is "pristine" iff no instructions have been added since the last
/// A Block is "pristine" iff no instructions have been added since the last
/// call to `switch_to_block()`.
pristine: bool,
/// An Block is "filled" iff a terminator instruction has been inserted since
/// A Block is "filled" iff a terminator instruction has been inserted since
/// the last call to `switch_to_block()`.
///
/// A filled block cannot be pristine.
@@ -832,7 +832,7 @@ impl<'a> FunctionBuilder<'a> {
);
}
/// An Block is 'filled' when a terminator instruction is present.
/// A Block is 'filled' when a terminator instruction is present.
fn fill_current_block(&mut self) {
self.func_ctx.blocks[self.position.block.unwrap()].filled = true;
}