diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-11-10 01:22:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 01:22:19 -0500 |
commit | 99fc5fc2c85b714c81ec6a7fca2615853e120caa (patch) | |
tree | f87e929adf6922872b6a1de2acfb62820052fc7f /src/canvas/widgets/basic_table_arrows.rs | |
parent | f5ec9191f270ffb4fc36e34836e931d3ef55a162 (diff) |
refactor: run cargo +nightly fmt with group_imports (#885)
* refactor: add some disabled unstable fmt options
* run cargo +nightly fmt with group_imports
* separate out the cfg-specific imports for clarity
Diffstat (limited to 'src/canvas/widgets/basic_table_arrows.rs')
-rw-r--r-- | src/canvas/widgets/basic_table_arrows.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/canvas/widgets/basic_table_arrows.rs b/src/canvas/widgets/basic_table_arrows.rs index ae87ff7f..b0202906 100644 --- a/src/canvas/widgets/basic_table_arrows.rs +++ b/src/canvas/widgets/basic_table_arrows.rs @@ -1,8 +1,3 @@ -use crate::{ - app::{layout_manager::BottomWidgetType, App}, - canvas::Painter, -}; - use tui::{ backend::Backend, layout::{Alignment, Constraint, Direction, Layout, Rect}, @@ -12,6 +7,11 @@ use tui::{ widgets::{Block, Paragraph}, }; +use crate::{ + app::{layout_manager::BottomWidgetType, App}, + canvas::Painter, +}; + impl Painter { pub fn draw_basic_table_arrows<B: Backend>( &self, f: &mut Frame<'_, B>, app_state: &mut App, draw_loc: Rect, widget_id: u64, |