diff --git a/src/main.rs b/src/main.rs index a84975a..ad107ff 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,7 @@ mod task; fn main() { let t = task::Task::from_string("1. [>] \"Task 1\"; due: 2020-01-21T00:00; priority: 1; tags: tag1, tag2".to_string()).unwrap(); - let isValid = t.validate(); - println!("{}", isValid); + let is_valid = t.validate(); + println!("{}", is_valid); println!("{}", t); }