Skip to content

Commit ffb585b

Browse files
committed
Fix code style
1 parent ea4e61c commit ffb585b

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

src/blade/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ impl crate::Backend {
180180
let empty_use_map = std::collections::HashMap::new();
181181
let loader = self.function_loader_with(&empty_use_map, &None);
182182
let content = if let Some(func) = loader("e") {
183-
crate::hover::hover_for_function(&func, None)
184-
.contents
183+
crate::hover::hover_for_function(&func, None).contents
185184
} else {
186185
HoverContents::Markup(MarkupContent {
187186
kind: MarkupKind::Markdown,
@@ -201,5 +200,4 @@ impl crate::Backend {
201200
}),
202201
}
203202
}
204-
205203
}

src/server.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,8 +645,7 @@ impl LanguageServer for Backend {
645645
// raw-echo explanation, rather than falling through to the virtual
646646
// PHP content where the position maps into boilerplate.
647647
if crate::blade::is_blade_file(&uri_clone)
648-
&& let Some(hover) =
649-
backend.blade_echo_delimiter_hover(&uri_clone, position)
648+
&& let Some(hover) = backend.blade_echo_delimiter_hover(&uri_clone, position)
650649
{
651650
return Ok(Some(hover));
652651
}

0 commit comments

Comments
 (0)