summary refs log tree commit diff
path: root/03/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to '03/src/main.rs')
-rw-r--r--03/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/03/src/main.rs b/03/src/main.rs
index b8621da..2f07f44 100644
--- a/03/src/main.rs
+++ b/03/src/main.rs
@@ -16,7 +16,7 @@ fn main() -> Result<()> {
   for line in &input {
     let mut tree_line: Vec<bool> = Vec::new();
 
-    for c in line.trim().chars() {
+    for c in line.chars() {
       if c == '#' {
         tree_line.push(true);
       } else {