Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite committed Aug 6, 2024
1 parent ccfb224 commit ea16af3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tooling/lsp/src/requests/inlay_hint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl<'a> InlayHintCollector<'a> {

match &item.kind {
ItemKind::Function(noir_function) => {
self.collect_in_noir_function(noir_function, item.span)
self.collect_in_noir_function(noir_function, item.span);
}
ItemKind::Trait(noir_trait) => {
for item in &noir_trait.items {
Expand Down Expand Up @@ -153,7 +153,7 @@ impl<'a> InlayHintCollector<'a> {
fn collect_in_trait_impl_item(&mut self, item: &TraitImplItem, span: Span) {
match item {
TraitImplItem::Function(noir_function) => {
self.collect_in_noir_function(noir_function, span)
self.collect_in_noir_function(noir_function, span);
}
TraitImplItem::Constant(_name, _typ, default_value) => {
self.collect_in_expression(default_value);
Expand Down Expand Up @@ -807,7 +807,7 @@ mod inlay_hints_tests {
InlayHintsOptions {
type_hints: TypeHintsOptions { enabled: false },
parameter_hints: ParameterHintsOptions { enabled: false },
closing_brace_hints: ClosingBraceHintsOptions { enabled: true, min_lines: min_lines },
closing_brace_hints: ClosingBraceHintsOptions { enabled: true, min_lines },
}
}

Expand Down

0 comments on commit ea16af3

Please sign in to comment.