From 5526da0970060a8c91e6650545b2018f776d7d73 Mon Sep 17 00:00:00 2001 From: OliverGuy Date: Mon, 18 May 2026 19:57:38 +0200 Subject: [PATCH] style(history): use use --- yazi-widgets/src/input/history.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/yazi-widgets/src/input/history.rs b/yazi-widgets/src/input/history.rs index 23259256..40661b05 100644 --- a/yazi-widgets/src/input/history.rs +++ b/yazi-widgets/src/input/history.rs @@ -1,4 +1,4 @@ -use std::mem; +use std::{collections::VecDeque, mem}; use super::InputSnaps; @@ -7,8 +7,8 @@ const MAX_LENGTH: usize = 20; #[derive(Default)] pub struct InputHistory { - entries: std::collections::VecDeque, - entry_snaps: std::collections::VecDeque>, + entries: VecDeque, + entry_snaps: VecDeque>, idx: Option, draft: Option, } @@ -16,8 +16,8 @@ pub struct InputHistory { impl InputHistory { pub const fn new() -> Self { Self { - entries: std::collections::VecDeque::new(), - entry_snaps: std::collections::VecDeque::new(), + entries: VecDeque::new(), + entry_snaps: VecDeque::new(), idx: None, draft: None, }