diff --git a/src/runtime.rs b/src/runtime.rs index b3eb74cf..f9df211c 100644 --- a/src/runtime.rs +++ b/src/runtime.rs @@ -653,7 +653,7 @@ impl DependencyGraph { self.edges.insert(from_id, to_id); self.labels .entry(database_key.clone()) - .or_insert(SmallVec::default()) + .or_default() .push(from_id); true } @@ -662,7 +662,7 @@ impl DependencyGraph { let vec = self .labels .remove(database_key) - .unwrap_or(SmallVec::default()); + .unwrap_or_default(); for from_id in &vec { let to_id1 = self.edges.remove(from_id);