Skip to content

Commit 5276bff

Browse files
committed
Fix formatting
1 parent dec4ba8 commit 5276bff

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

crates/rust-analyzer/src/lsp_ext.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ pub struct ExpandedMacro {
6060
pub expansion: String,
6161
}
6262

63-
6463
pub enum MatchingBrace {}
6564

6665
impl Request for MatchingBrace {

crates/rust-analyzer/src/main_loop.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -509,9 +509,7 @@ fn on_request(
509509
.on_sync::<lsp_types::request::SelectionRangeRequest>(|s, p| {
510510
handlers::handle_selection_range(s.snapshot(), p)
511511
})?
512-
.on_sync::<lsp_ext::MatchingBrace>(|s, p| {
513-
handlers::handle_matching_brace(s.snapshot(), p)
514-
})?
512+
.on_sync::<lsp_ext::MatchingBrace>(|s, p| handlers::handle_matching_brace(s.snapshot(), p))?
515513
.on::<lsp_ext::AnalyzerStatus>(handlers::handle_analyzer_status)?
516514
.on::<lsp_ext::SyntaxTree>(handlers::handle_syntax_tree)?
517515
.on::<lsp_ext::ExpandMacro>(handlers::handle_expand_macro)?

0 commit comments

Comments
 (0)