Update to rust 2021

This commit is contained in:
hulthe committed 2021-10-22 12:55:12 +02:00
1 parent b4e1774993
commit 7698911078
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ pub fn set_parent(
}
// this also makes sure that parent exists
let parent = category::get(&categories_tree, &&next_parent_id)?;
let parent = category::get(&categories_tree, &next_parent_id)?;
match parent.parent {
Some(grandparent_id) => next_parent_id = grandparent_id,