summary refs log tree commit diff
path: root/04/src
diff options
context:
space:
mode:
Diffstat (limited to '04/src')
-rw-r--r--04/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/04/src/main.rs b/04/src/main.rs
index 701f60d..9444725 100644
--- a/04/src/main.rs
+++ b/04/src/main.rs
@@ -26,7 +26,7 @@ fn main() -> Result<()> {
   let mut current_is_valid = true;
 
   for line in &input {
-    if line.trim().len() == 0 {
+    if line.len() == 0 {
       //println!("{:?}", current_fields);
 
       if current_is_valid