diff options
| author | bors <bors@rust-lang.org> | 2022-11-07 16:22:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-07 16:22:33 +0000 |
| commit | 0aa0da9dda7eaefe81b09f6e2f61b0bcff16a6be (patch) | |
| tree | 7453fdae876d166edee8470a12d6c04cdf689a35 /crates/ide/src/lib.rs | |
| parent | a27e4dad379453466a3d5b4500645c617c4e3dc6 (diff) | |
| parent | fa70b0a86ec89ea53c0855caba42d121cbcc5697 (diff) | |
| download | rust-0aa0da9dda7eaefe81b09f6e2f61b0bcff16a6be.tar.gz rust-0aa0da9dda7eaefe81b09f6e2f61b0bcff16a6be.zip | |
Auto merge of #13572 - Veykril:cancellable, r=Veykril
internal: Use Cancellable in favor of Result for clarity
Diffstat (limited to 'crates/ide/src/lib.rs')
| -rw-r--r-- | crates/ide/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs index 568c53f8bdb..7402e86f36f 100644 --- a/crates/ide/src/lib.rs +++ b/crates/ide/src/lib.rs @@ -367,7 +367,7 @@ impl Analysis { &self, config: &InlayHintsConfig, file_id: FileId, - range: Option<FileRange>, + range: Option<TextRange>, ) -> Cancellable<Vec<InlayHint>> { self.with_db(|db| inlay_hints::inlay_hints(db, file_id, range, config)) } |
