Address clippy lint

This commit is contained in:
Johannes Altmanninger 2024-08-06 14:00:38 +02:00
parent 8fbe29ed7b
commit fa4daeee0f

View file

@ -3856,7 +3856,7 @@ fn reader_interactive_init(parser: &Parser) {
parser
.vars()
.get(L!("LC_TERMINAL"))
.is_some_and(|term| term.as_list() == &[L!("iTerm2")]),
.is_some_and(|term| term.as_list() == [L!("iTerm2")]),
);
}