Skip to content

Commit

Permalink
chore: Clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Nukesor committed Sep 6, 2023
1 parent aebf4ef commit af3924c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/row.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ mod tests {

#[test]
fn test_some_functions() {
let cells = vec!["one", "two", "three"];
let cells = ["one", "two", "three"];
let mut row = Row::new();
for cell in cells.iter() {
row.add_cell(Cell::new(cell));
Expand Down
2 changes: 1 addition & 1 deletion tests/all/alignment_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fn cell_alignment() {
])
.add_row(vec!["Left", "Center", "Right"]);

let alignment = vec![
let alignment = [
CellAlignment::Left,
CellAlignment::Center,
CellAlignment::Right,
Expand Down

0 comments on commit af3924c

Please sign in to comment.