Skip to content

Commit

Permalink
fix clippy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ascandone committed Jul 30, 2024
1 parent cca0b8d commit 9824c74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler-core/src/language_server/inlay_hints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl<'a, 'ast> Visit<'ast> for InlayHintsVisitor<'a> {
};

let this_hint = default_inlay_hint(
&self.line_numbers,
self.line_numbers,
assign.location.end,
Printer::new().pretty_print(assign.type_().as_ref(), 0),
);
Expand All @@ -102,7 +102,7 @@ impl<'a, 'ast> Visit<'ast> for InlayHintsVisitor<'a> {
self.hints.push(prev_hint);
}
let hint = default_inlay_hint(
&self.line_numbers,
self.line_numbers,
finally.location().end,
Printer::new().pretty_print(finally.type_().as_ref(), 0),
);
Expand Down

0 comments on commit 9824c74

Please sign in to comment.