From c5df9cce340758a004bf1cfb4d07c732122cc7aa Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Tue, 9 Jul 2024 20:10:32 +0200 Subject: [PATCH] refactor: sort deps --- src/clock.rs | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/src/clock.rs b/src/clock.rs index 88b8d66..d914b09 100644 --- a/src/clock.rs +++ b/src/clock.rs @@ -4,18 +4,12 @@ use clap::Parser; use libpt::cli::{args::VerbosityLevel, args::HELP_TEMPLATE, clap}; use chrono::SubsecRound; -use ratatui::crossterm::event::{ - self, poll, Event, KeyCode, KeyModifiers, -}; -use ratatui::layout::Alignment; -use ratatui::widgets::{Block, Padding}; -use ratatui::{ - backend::CrosstermBackend, - layout::{Constraint, Direction, Layout, Rect}, - style::{Style, Stylize}, - widgets::Paragraph, - Terminal, -}; +use ratatui::backend::CrosstermBackend; +use ratatui::crossterm::event::{self, poll, Event, KeyCode, KeyModifiers}; +use ratatui::layout::{Alignment, Constraint, Direction, Layout, Rect}; +use ratatui::style::{Style, Stylize}; +use ratatui::widgets::{Block, Padding, Paragraph}; +use ratatui::Terminal; use std::io::Stdout; use std::time::Duration;