Skip to content

Commit

Permalink
fix: New clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Nukesor committed May 31, 2024
1 parent 2bd88e4 commit 2444982
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ impl Table {
}

pub(crate) fn style_exists(&self, component: TableComponent) -> bool {
self.style.get(&component).is_some()
self.style.contains_key(&component)
}

/// Autogenerate new columns, if a row is added with more cells than existing columns.
Expand Down
1 change: 0 additions & 1 deletion tests/all/utf_8_characters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ fn multi_character_utf8_symbols() {
}

#[test]
///
fn multi_character_utf8_word_splitting() {
let mut table = Table::new();
table
Expand Down

0 comments on commit 2444982

Please sign in to comment.