Skip to content

Commit 31306ba

Browse files
bors[bot]lnicola
andauthored
Merge #9686
9686: Bump deps r=lnicola a=lnicola bors r+ Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2 parents 2e45e47 + 1da21b7 commit 31306ba

File tree

4 files changed

+46
-28
lines changed

4 files changed

+46
-28
lines changed

Cargo.lock

Lines changed: 41 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/ide_completion/src/completions/lifetime.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//! Completes lifetimes and labels.
22
//!
33
//! These completions work a bit differently in that they are only shown when what the user types
4-
//! has a `'` preceding it, as our fake syntax tree is invalid otherwise(due to us not inserting a
5-
//! lifetime but an ident for obvious reasons).
4+
//! has a `'` preceding it, as our fake syntax tree is invalid otherwise (due to us not inserting
5+
//! a lifetime but an ident for obvious reasons).
66
//! Due to this all the tests for lifetimes and labels live in this module for the time being as
77
//! there is no value in lifting these out into the outline module test since they will either not
88
//! show up for normal completions, or they won't show completions other than lifetimes depending

crates/rust-analyzer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ path = "src/bin/main.rs"
2020
anyhow = "1.0.26"
2121
crossbeam-channel = "0.5.0"
2222
dissimilar = "1.0.2"
23-
env_logger = { version = "0.8.1", default-features = false }
23+
env_logger = { version = "0.9", default-features = false }
2424
itertools = "0.10.0"
2525
jod-thread = "0.1.0"
2626
log = "0.4.8"

crates/vfs-notify/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ impl NotifyActor {
8383
self.watcher = None;
8484
if !config.watch.is_empty() {
8585
let (watcher_sender, watcher_receiver) = unbounded();
86-
let watcher = log_notify_error(Watcher::new_immediate(move |event| {
86+
let watcher = log_notify_error(RecommendedWatcher::new(move |event| {
8787
watcher_sender.send(event).unwrap()
8888
}));
8989
self.watcher = watcher.map(|it| (it, watcher_receiver));
@@ -214,7 +214,7 @@ impl NotifyActor {
214214

215215
fn watch(&mut self, path: AbsPathBuf) {
216216
if let Some((watcher, _)) = &mut self.watcher {
217-
log_notify_error(watcher.watch(&path, RecursiveMode::NonRecursive));
217+
log_notify_error(watcher.watch(path.as_ref(), RecursiveMode::NonRecursive));
218218
}
219219
}
220220
fn send(&mut self, msg: loader::Message) {

0 commit comments

Comments
 (0)