Skip to content

Commit

Permalink
remove mut
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaisvil committed May 28, 2020
1 parent 5383d29 commit 9d98cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ impl CPUTimeApp {
async fn get_nics(&mut self) {
debug!("Updating Network Interfaces");
self.network_interfaces.clear();
let mut nics = net::nic().await;
let nics = net::nic().await;
match nics{
Ok(nics) => {
::futures::pin_mut!(nics);
Expand Down

0 comments on commit 9d98cf7

Please sign in to comment.