Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pd0wm committed Mar 28, 2024
1 parent 0a63c9e commit fda755f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/can/async_can.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ fn process<T: CanAdapter>(
adapter.send(&mut buffer).unwrap();

if !buffer.is_empty() {
debug!("Failed to send all frames, requeueing {} frames", buffer.len());

debug!(
"Failed to send all frames, requeueing {} frames",
buffer.len()
);
}
}
std::thread::sleep(std::time::Duration::from_millis(1));
Expand Down
2 changes: 1 addition & 1 deletion src/can/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
pub mod adapter;
pub mod async_can;

use std::fmt;
use std::collections::VecDeque;
use std::fmt;

pub use adapter::get_adapter;
pub use async_can::AsyncCanAdapter;
Expand Down
2 changes: 1 addition & 1 deletion src/socketcan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use crate::Result;

use socketcan::socket::Socket;
use socketcan::SocketOptions;
use tracing::info;
use std::collections::VecDeque;
use tracing::info;

mod frame;

Expand Down

0 comments on commit fda755f

Please sign in to comment.