]> git.lizzy.rs Git - rust.git/commitdiff
Rebase fixes
authorKirill Bulatov <mail4score@gmail.com>
Mon, 30 Mar 2020 10:16:09 +0000 (13:16 +0300)
committerKirill Bulatov <mail4score@gmail.com>
Mon, 30 Mar 2020 10:39:14 +0000 (13:39 +0300)
crates/rust-analyzer/src/world.rs

index 01084f81868b1171e39fd6f0e434e28616a48701..ad096a1d89964491019515004f647ec1244cece5 100644 (file)
@@ -31,7 +31,7 @@
 use ra_db::ExternSourceId;
 use rustc_hash::{FxHashMap, FxHashSet};
 
-fn create_watcher(workspaces: &[ProjectWorkspace], options: &Options) -> CheckWatcher {
+fn create_watcher(workspaces: &[ProjectWorkspace], options: &Options) -> Option<CheckWatcher> {
     // FIXME: Figure out the multi-workspace situation
     workspaces
         .iter()