Skip to content

Commit e74aed3

Browse files
committed
Cleanup blank lines
1 parent 136aef7 commit e74aed3

4 files changed

Lines changed: 0 additions & 4 deletions

File tree

src/year2015/day18.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
//!
6666
//! Using the bits as labelled above, the next cell is `(e|s) & (q^r) & !p`, masked back
6767
//! to the 50 bits per integer.
68-
6968
const MASK: u64 = (1 << 50) - 1;
7069
const LEFT_CORNER: u64 = 1 << 49;
7170
const RIGHT_CORNER: u64 = 1 << 0;

src/year2016/day13.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
//! part one requires more than 50 steps but should easily be reachable without exceeding bounds,
99
//! we can bound the maze to 2 + 50 = 52 in each dimension and use a fixed-size array. Rather
1010
//! than filling the array up front, we can lazily populate it as the horizon expands.
11-
1211
use crate::util::parse::*;
1312
use std::collections::VecDeque;
1413

src/year2020/day06.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
//!
1515
//! [`day 5`]: crate::year2020::day05
1616
//! [`count_ones`]: u32::count_ones
17-
1817
pub fn parse(input: &str) -> Vec<u32> {
1918
input.lines().map(|line| line.bytes().fold(0, |acc, b| acc | (1 << (b - b'a')))).collect()
2019
}

src/year2022/day08.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
//!
33
//! Part one is solved with an efficient `O(n)` algorithm. Part two is also solved with an efficient `O(n)`
44
//! algorithm, using a bit manipulation trick to make the complexity independent of the number of digits.
5-
65
const ONES: u64 = 0x0041041041041041;
76
const MASK: u64 = 0x0fffffffffffffc0;
87

0 commit comments

Comments
 (0)