From 8338ba2690420e0bf39f96dc6447743e5a2eccb7 Mon Sep 17 00:00:00 2001 From: OliverGuy Date: Mon, 18 May 2026 19:34:21 +0200 Subject: [PATCH] style(history): indentation --- yazi-core/src/input/input.rs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/yazi-core/src/input/input.rs b/yazi-core/src/input/input.rs index 00a36b83..c595a2dc 100644 --- a/yazi-core/src/input/input.rs +++ b/yazi-core/src/input/input.rs @@ -11,8 +11,8 @@ pub struct Input { pub(super) inner: yazi_widgets::input::Input, pub history: std::collections::HashMap, - pub visible: bool, - pub title: String, + pub visible: bool, + pub title: String, pub position: Position, } @@ -49,13 +49,9 @@ impl Input { impl Deref for Input { type Target = yazi_widgets::input::Input; - fn deref(&self) -> &Self::Target { - &self.inner - } + fn deref(&self) -> &Self::Target { &self.inner } } impl DerefMut for Input { - fn deref_mut(&mut self) -> &mut Self::Target { - &mut self.inner - } + fn deref_mut(&mut self) -> &mut Self::Target { &mut self.inner } }