diff options
author | Satya Rohith <me@satyarohith.com> | 2024-06-14 17:10:57 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-14 17:10:57 +0530 |
commit | 0f48313565ed2620efbd9d0f2203b57f8f126e6a (patch) | |
tree | 39e348917188b7524eadc138dfcf80f92a185ac6 /cli/util | |
parent | e19ee6eecc416a99801231ac53f2c512ba1f81dd (diff) |
chore: upgrade to rust 1.79 (#24207)
Diffstat (limited to 'cli/util')
-rw-r--r-- | cli/util/file_watcher.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/util/file_watcher.rs b/cli/util/file_watcher.rs index 247ae49d8..b2628760b 100644 --- a/cli/util/file_watcher.rs +++ b/cli/util/file_watcher.rs @@ -278,7 +278,9 @@ where deno_core::unsync::spawn(async move { loop { let received_changed_paths = watcher_receiver.recv().await; - *changed_paths_.borrow_mut() = received_changed_paths.clone(); + changed_paths_ + .borrow_mut() + .clone_from(&received_changed_paths); match *watcher_.restart_mode.lock() { WatcherRestartMode::Automatic => { |