diff options
-rw-r--r-- | day3/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/day3/src/main.rs b/day3/src/main.rs index aa7eda7..10c1f81 100644 --- a/day3/src/main.rs +++ b/day3/src/main.rs @@ -13,8 +13,8 @@ fn main() -> Result<(), std::io::Error> { let mut epsilon_string = String::new(); for line in lines { - for (index, char) in line.chars().enumerate() { - bits[index] += char.to_digit(10).unwrap(); + for (index, character) in line.chars().enumerate() { + bits[index] += character.to_digit(10).unwrap(); } } |