We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cargo clippy --fix --all-targets --all-features
1 parent 4c044f5 commit 9f36470Copy full SHA for 9f36470
src/vscreen.rs
@@ -158,7 +158,7 @@ impl Attributes {
158
}
159
160
fn update_with_unsupported(&mut self, sequence: &str) -> bool {
161
- self.unknown_buffer.push_str(&sequence);
+ self.unknown_buffer.push_str(sequence);
162
false
163
164
tests/integration_tests.rs
@@ -1229,7 +1229,7 @@ fn grid_for_file_without_newline() {
1229
// Ensure that ANSI passthrough is emitted properly for both wrapping and non-wrapping printer.
1230
#[test]
1231
fn ansi_passthrough_emit() {
1232
- for wrapping in vec!["never", "character"] {
+ for wrapping in &["never", "character"] {
1233
bat()
1234
.arg("--paging=never")
1235
.arg("--color=never")
0 commit comments