Skip to content

Commit d9a17fa

Browse files
nbfalconyyoncho
authored andcommitted
lsp-rust: remove redundant `lsp-interface' comment
`lsp-interface' wasn't designed to destructure lists; stating that fact before `lsp-rust--analyzer-show-references' is as such redundant, since that is normal and not noteworthy.
1 parent 84fadc5 commit d9a17fa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clients/lsp-rust.el

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,8 +635,6 @@ them with `crate` or the crate name they refer to."
635635
(lsp-defun lsp-rust--analyzer-run-single ((&Command :arguments?))
636636
(lsp-rust-analyzer-run (lsp-seq-first arguments?)))
637637

638-
;; `lsp-interface' is unsuitable for ShowReference destructuring, as that code
639-
;; action yields an array of three elements, not a map.
640638
(lsp-defun lsp-rust--analyzer-show-references
641639
((&Command :title :arguments? [_uri _filepos references]))
642640
(lsp-show-xrefs (lsp--locations-to-xref-items references) nil

0 commit comments

Comments
 (0)