Skip to content

Commit

Permalink
basic clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosprint committed May 22, 2024
1 parent 237a963 commit 97fadce
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/monitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ use ratatui::{
layout::{Constraint, Direction, Layout},
prelude::{CrosstermBackend, Terminal, *},
style::{Color, Style},
symbols,
text::{Line, Span, Text},
widgets::{BarChart, Block, Borders, Gauge, LineGauge, Paragraph},
text::{Span, Text},
widgets::{Block, Borders, Gauge, Paragraph},
};

use ratatui::style::Modifier;
Expand Down Expand Up @@ -218,8 +217,6 @@ fn draw_rec_waveform(
let waveform_data = shared_waveform_data.lock();
let waveform: Vec<f32> = waveform_data.iter().copied().collect();

let size = f.size();

let vertical = Layout::default()
.direction(Direction::Vertical)
.constraints(
Expand Down

0 comments on commit 97fadce

Please sign in to comment.