Skip to content

Commit 3ac9732

Browse files
Fix some typos
1 parent 8146700 commit 3ac9732

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/rust-analyzer/src/handlers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ pub(crate) fn handle_inlay_hints(
10751075
.analysis
10761076
.inlay_hints(file_id, &snap.config.inlay_hints)?
10771077
.into_iter()
1078-
.map(|it| to_proto::inlay_int(&line_index, it))
1078+
.map(|it| to_proto::inlay_hint(&line_index, it))
10791079
.collect())
10801080
}
10811081

crates/rust-analyzer/src/to_proto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ pub(crate) fn signature_help(
294294
}
295295
}
296296

297-
pub(crate) fn inlay_int(line_index: &LineIndex, inlay_hint: InlayHint) -> lsp_ext::InlayHint {
297+
pub(crate) fn inlay_hint(line_index: &LineIndex, inlay_hint: InlayHint) -> lsp_ext::InlayHint {
298298
lsp_ext::InlayHint {
299299
label: inlay_hint.label.to_string(),
300300
range: range(line_index, inlay_hint.range),

editors/code/src/lsp_ext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file mirrors `crates/rust-analyzer/src/req.rs` declarations.
2+
* This file mirrors `crates/rust-analyzer/src/lsp_ext.rs` declarations.
33
*/
44

55
import * as lc from "vscode-languageclient";

0 commit comments

Comments
 (0)