Skip to content

Commit

Permalink
fix/fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmindlin committed Apr 14, 2021
1 parent 58ea04e commit fcc6964
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ pub struct AppConfig {

impl Default for AppConfig {
fn default() -> Self {
Self {
update_rate: 2_000,
}
Self { update_rate: 2_000 }
}
}
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
mod client;
mod config;
mod events;
mod models;
mod views;
mod widgets;
mod config;

use config::AppConfig;
use client::Client;
use config::AppConfig;
use events::{Event, Events};
use models::{ExchangeBindings, ExchangeInfo, MQMessage, Overview, QueueInfo};
use views::{
Expand Down
2 changes: 1 addition & 1 deletion src/views/exchange.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use super::{centered_rect, Drawable, StatefulPane};
use crate::{
config::AppConfig,
models::{ExchangeBindings, ExchangeInfo},
widgets::help::Help,
config::AppConfig,
DataContainer, Datatable, ManagementClient, Rowable,
};

Expand Down
2 changes: 1 addition & 1 deletion src/views/overview.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use super::{Drawable, StatefulPane};
use crate::{
config::AppConfig,
models::Overview,
widgets::{
chart::{ChartData, RChart},
help::Help,
},
config::AppConfig,
ManagementClient,
};

Expand Down
2 changes: 1 addition & 1 deletion src/views/queues.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use super::{Drawable, StatefulPane};
use crate::{
config::AppConfig,
models::QueueInfo,
widgets::{
confirmation::ConfirmationBox, files::FileNavigator, help::Help, notif::Notification,
},
config::AppConfig,
DataContainer, Datatable, ManagementClient, Rowable,
};

Expand Down

0 comments on commit fcc6964

Please sign in to comment.