mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
Fix formatting
This commit is contained in:
parent
9d43291533
commit
4b16b9b74b
1 changed files with 5 additions and 1 deletions
|
@ -1324,7 +1324,11 @@ pub(crate) fn handle_inlay_hints(
|
||||||
let range = params
|
let range = params
|
||||||
.range
|
.range
|
||||||
.map(|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()?;
|
.transpose()?;
|
||||||
Ok(snap
|
Ok(snap
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue