We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2403e3f commit 9bc70ffCopy full SHA for 9bc70ff
src/config/default.rs
@@ -162,9 +162,7 @@ impl ConfigFileAPI for DefaultConfigFileAPI {
162
let mut watchers = self.watchers.watchers.write().await;
163
164
let watch_key = req.get_key();
165
- let items = watchers
166
- .entry(watch_key.clone())
167
- .or_insert_with(Vec::new);
+ let items = watchers.entry(watch_key.clone()).or_insert_with(Vec::new);
168
169
items.push(ConfigFileWatcher { req });
170
Ok(WatchConfigFileResponse {})
0 commit comments