Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
pythops committed Sep 26, 2024
1 parent 1bf37eb commit 4cefc72
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions oryx-tui/src/bandwidth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ pub struct Bandwidth {
map: Arc<Mutex<HashMap<String, BandwidthBuffer>>>,
}

impl Default for Bandwidth {
fn default() -> Self {
Self::new()
}
}

impl Bandwidth {
pub fn new() -> Self {
let map: Arc<Mutex<HashMap<String, BandwidthBuffer>>> =
Expand Down

0 comments on commit 4cefc72

Please sign in to comment.