about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crates/rust-analyzer/src/handlers.rs6
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