Skip to content

Commit

Permalink
fix: title reference
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-pitblado committed Nov 11, 2024
1 parent a6cb64e commit a4b568a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub fn parse_task_input(input: &str) -> ParsedTask {
}
}

let title = priority_re.replace_all(&input, "").to_string();
let title = priority_re.replace_all(input, "").into_owned();

let title = Regex::new(r"\s+")
.unwrap()
Expand Down

0 comments on commit a4b568a

Please sign in to comment.