Skip to content

Commit

Permalink
Run cargo clippy --fix --all-targets --all-features
Browse files Browse the repository at this point in the history
  • Loading branch information
Enselic committed Dec 8, 2021
1 parent 4c044f5 commit 9f36470
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/vscreen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ impl Attributes {
}

fn update_with_unsupported(&mut self, sequence: &str) -> bool {
self.unknown_buffer.push_str(&sequence);
self.unknown_buffer.push_str(sequence);
false
}

Expand Down
2 changes: 1 addition & 1 deletion tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ fn grid_for_file_without_newline() {
// Ensure that ANSI passthrough is emitted properly for both wrapping and non-wrapping printer.
#[test]
fn ansi_passthrough_emit() {
for wrapping in vec!["never", "character"] {
for wrapping in &["never", "character"] {
bat()
.arg("--paging=never")
.arg("--color=never")
Expand Down

0 comments on commit 9f36470

Please sign in to comment.