Skip to content

Commit

Permalink
fix: spelling error
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Jan 10, 2024
1 parent 3d2029a commit c9033eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/22.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ fn lower_blocks(blocks: &mut [Block]) {
}
}

fn removeable_blocks(blocks: &[Block]) -> Vec<&Block> {
fn removable_blocks(blocks: &[Block]) -> Vec<&Block> {
blocks
.iter()
.filter(|x| {
Expand All @@ -185,7 +185,7 @@ fn compute1(text: &str) -> usize {
let mut blocks = read(text);
blocks.sort();
lower_blocks(&mut blocks);
removeable_blocks(&blocks).len()
removable_blocks(&blocks).len()
}

fn compute2(text: &str) -> usize {
Expand Down

0 comments on commit c9033eb

Please sign in to comment.