Skip to content

Commit

Permalink
Auto merge of #15680 - DaniPopes:regenerate-lints, r=Veykril
Browse files Browse the repository at this point in the history
internal: re-generate lints.rs

Looks like this hasn't been run in a while
  • Loading branch information
bors committed Sep 29, 2023
2 parents 1752178 + 53f5c1c commit e478db7
Show file tree
Hide file tree
Showing 5 changed files with 2,070 additions and 1,296 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 e478db7

Please sign in to comment.