diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2022-03-04 08:15:17 +0200 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2022-03-04 08:15:17 +0200 |
| commit | 4b16b9b74bcc17eeeda8baf78b6ce11c2fd43e75 (patch) | |
| tree | 76f3141748f5588442e68fe9be1a0d329c1501bb | |
| parent | 9d432915330e5b67fc39de673d954966dffce7b1 (diff) | |
| download | rust-4b16b9b74bcc17eeeda8baf78b6ce11c2fd43e75.tar.gz rust-4b16b9b74bcc17eeeda8baf78b6ce11c2fd43e75.zip | |
Fix formatting
| -rw-r--r-- | crates/rust-analyzer/src/handlers.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/handlers.rs b/crates/rust-analyzer/src/handlers.rs index 70ffec7ed27..249e861f9b7 100644 --- a/crates/rust-analyzer/src/handlers.rs +++ b/crates/rust-analyzer/src/handlers.rs @@ -1324,7 +1324,11 @@ pub(crate) fn handle_inlay_hints( let range = params .range .map(|range| { - from_proto::file_range(&snap, TextDocumentIdentifier::new(document_uri.to_owned()), range) + from_proto::file_range( + &snap, + TextDocumentIdentifier::new(document_uri.to_owned()), + range, + ) }) .transpose()?; Ok(snap |
