diff options
Diffstat (limited to 'src/run/var/mod.rs')
| -rw-r--r-- | src/run/var/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run/var/mod.rs b/src/run/var/mod.rs index 1ccc195..57ff9e1 100644 --- a/src/run/var/mod.rs +++ b/src/run/var/mod.rs @@ -62,7 +62,7 @@ impl Vars { for var in vars { self.watched .entry(var) - .or_insert_with(Vec::new) + .or_default() .push(watch.weak()); } watch |
