Remove redundant clone()
This commit is contained in:
parent
23eaf0c5d8
commit
9fa5818fde
1 changed files with 2 additions and 2 deletions
|
|
@ -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![],
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue