Skip to content

Commit

Permalink
internal: re-generate lints.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Sep 29, 2023
1 parent f19479a commit c15dc40
Show file tree
Hide file tree
Showing 5 changed files with 2,071 additions and 1,297 deletions.
2 changes: 1 addition & 1 deletion crates/ide-completion/src/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl fmt::Debug for CompletionItem {
let mut s = f.debug_struct("CompletionItem");
s.field("label", &self.label).field("source_range", &self.source_range);
if self.text_edit.len() == 1 {
let atom = &self.text_edit.iter().next().unwrap();
let atom = self.text_edit.iter().next().unwrap();
s.field("delete", &atom.delete);
s.field("insert", &atom.insert);
} else {
Expand Down

0 comments on commit c15dc40

Please sign in to comment.