Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
theunkn0wn1 committed May 11, 2021
1 parent a4e1c35 commit 2ab171c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/defmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
use crate::ArrayLength;
use crate::Vec;
use defmt::Formatter;
use as_slice::AsSlice;
use defmt::Formatter;

impl<T, N> defmt::Format for Vec<T, N>
where
Expand Down Expand Up @@ -49,7 +49,7 @@ mod tests {
let index = defmt::export::fetch_string_index();

let mut f = defmt::InternalFormatter::new();
let g = defmt::Formatter{inner: &mut f};
let g = defmt::Formatter { inner: &mut f };
val.format(g);
f.finalize();
}
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ mod de;
mod ser;

pub mod binary_heap;
#[cfg(feature = "defmt-impl")]
mod defmt;
pub mod i;
#[cfg(all(has_cas, feature = "cas"))]
pub mod mpmc;
#[cfg(all(has_cas, feature = "cas"))]
pub mod pool;
#[cfg(has_atomics)]
pub mod spsc;
#[cfg(feature = "defmt-impl")]
mod defmt;

#[cfg(feature = "ufmt-impl")]
mod ufmt;
Expand Down

0 comments on commit 2ab171c

Please sign in to comment.