Skip to content

Commit

Permalink
Reorder imports
Browse files Browse the repository at this point in the history
  • Loading branch information
grtcdr committed Feb 1, 2024
1 parent f8d2a3b commit 065b4e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/data/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ use clap::{Parser, ValueEnum};
use libmacchina::traits::GeneralReadout as _;
use libmacchina::traits::{ReadoutError, ShellFormat, ShellKind};
use libmacchina::{BatteryReadout, GeneralReadout, KernelReadout, MemoryReadout, PackageReadout};
use ratatui::style::{Color, Style};
use ratatui::text::{Line, Span, Text};
use serde::{Deserialize, Serialize};
use std::borrow::Cow;
use std::fmt::Display;
use ratatui::style::{Color, Style};
use ratatui::text::{Span, Line, Text};

/// This enum contains all the possible keys, e.g. _Host_, _Machine_, _Kernel_, etc.
#[allow(clippy::upper_case_acronyms)]
Expand Down
4 changes: 2 additions & 2 deletions src/widgets/readout.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use crate::data::{Readout, ReadoutKey};
use crate::theme::components::{Palette, PaletteType};
use crate::theme::Theme;
use std::collections::HashMap;
use ratatui::buffer::Buffer;
use ratatui::layout::{Margin, Rect};
use ratatui::style::{Color, Style};
use ratatui::text::{Span, Line, Text};
use ratatui::text::{Line, Span, Text};
use ratatui::widgets::{Block, Paragraph, Widget};
use std::collections::HashMap;

pub struct ReadoutList<'a> {
block: Option<Block<'a>>,
Expand Down

0 comments on commit 065b4e7

Please sign in to comment.