diff options
author | Aleksey Kladov <[email protected]> | 2018-11-27 22:38:39 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-11-27 22:38:39 +0000 |
commit | 4c9933c01657349438f9170c2ef7d6352144b224 (patch) | |
tree | 47b9b3ecde0c9bbfcc8a9ba4fd063a743eaf9c64 /crates/ra_analysis/src/input.rs | |
parent | 806ea03b64455a0c10fd8a8d6d98ed4e7ac15058 (diff) |
check_canceled is a method
Diffstat (limited to 'crates/ra_analysis/src/input.rs')
-rw-r--r-- | crates/ra_analysis/src/input.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/input.rs b/crates/ra_analysis/src/input.rs index a78b6e397..60086d1ae 100644 --- a/crates/ra_analysis/src/input.rs +++ b/crates/ra_analysis/src/input.rs | |||
@@ -33,7 +33,7 @@ impl CrateGraph { | |||
33 | pub trait FileResolver: fmt::Debug + Send + Sync + 'static { | 33 | pub trait FileResolver: fmt::Debug + Send + Sync + 'static { |
34 | fn file_stem(&self, file_id: FileId) -> String; | 34 | fn file_stem(&self, file_id: FileId) -> String; |
35 | fn resolve(&self, file_id: FileId, path: &RelativePath) -> Option<FileId>; | 35 | fn resolve(&self, file_id: FileId, path: &RelativePath) -> Option<FileId>; |
36 | fn debug_path(&self, _file_id: FileId) -> Option<std::path::PathBuf> { | 36 | fn debug_path(&self, _1file_id: FileId) -> Option<std::path::PathBuf> { |
37 | None | 37 | None |
38 | } | 38 | } |
39 | } | 39 | } |