Remove redundant clone()

This commit is contained in:
Campbell Alden 2024-01-10 10:23:09 +09:00
parent 23eaf0c5d8
commit 9fa5818fde

View file

@ -59,8 +59,8 @@ pub struct ThingsTree {
impl AreaTree {
fn new(id: &str, title: &str) -> AreaTree {
AreaTree {
id: id.clone().to_string(),
title: title.clone().to_string(),
id: id.to_string(),
title: title.to_string(),
projects: vec![],
hanging_tasks: vec![],
}