Skip to content

Commit 9f36470

Browse files
committed
Run cargo clippy --fix --all-targets --all-features
1 parent 4c044f5 commit 9f36470

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/vscreen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ impl Attributes {
158158
}
159159

160160
fn update_with_unsupported(&mut self, sequence: &str) -> bool {
161-
self.unknown_buffer.push_str(&sequence);
161+
self.unknown_buffer.push_str(sequence);
162162
false
163163
}
164164

tests/integration_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1229,7 +1229,7 @@ fn grid_for_file_without_newline() {
12291229
// Ensure that ANSI passthrough is emitted properly for both wrapping and non-wrapping printer.
12301230
#[test]
12311231
fn ansi_passthrough_emit() {
1232-
for wrapping in vec!["never", "character"] {
1232+
for wrapping in &["never", "character"] {
12331233
bat()
12341234
.arg("--paging=never")
12351235
.arg("--color=never")

0 commit comments

Comments
 (0)