mirror of
https://github.com/dandavison/delta.git
synced 2026-05-29 11:19:34 +02:00
clippy 1.83: fix unnecessary_first_then_check
This commit is contained in:
@@ -126,7 +126,7 @@ impl anstyle_parse::Perform for Performer {
|
||||
return;
|
||||
}
|
||||
|
||||
let is_sgr = byte == b'm' && intermediates.first().is_none();
|
||||
let is_sgr = byte == b'm' && intermediates.is_empty();
|
||||
let element = if is_sgr {
|
||||
if params.is_empty() {
|
||||
// Attr::Reset
|
||||
|
||||
Reference in New Issue
Block a user