mirror of
https://github.com/imsnif/bandwhich.git
synced 2026-02-08 17:49:19 +08:00
Apply clippy lint available with MSRV 1.82.0, #2
This commit is contained in:
@@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
||||
* Bump `pnet` & `packet-builder` #444 - @cyqsimon
|
||||
* Switch from anyhow to eyre #450 - @cyqsimon
|
||||
* Manually bump all dependencies #456 - @cyqsimon
|
||||
* Bump MSRV to 1.82.0 - @cyqsimon
|
||||
|
||||
## [0.23.1] - 2024-10-09
|
||||
|
||||
|
||||
@@ -33,8 +33,7 @@ pub fn sleep_and_quit_events(sleep_num: usize) -> Box<TerminalEvents> {
|
||||
}
|
||||
|
||||
pub fn sleep_resize_and_quit_events(sleep_num: usize) -> Box<TerminalEvents> {
|
||||
let events = iter::repeat(None)
|
||||
.take(sleep_num)
|
||||
let events = iter::repeat_n(None, sleep_num)
|
||||
.chain([
|
||||
Some(Event::Resize(100, 100)),
|
||||
Some(Event::Key(KeyEvent::new(
|
||||
|
||||
Reference in New Issue
Block a user