Skip to content

Commit

Permalink
code format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowhatter committed Sep 11, 2024
1 parent 8b2d4e5 commit 30b37b3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions zenoh/src/api/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3259,10 +3259,9 @@ mod tests {

#[test]
fn serializer() {
#[cfg(feature = "shared-memory")]
use crate::zenoh_core::Wait;
use rand::Rng;
use std::borrow::Cow;

use rand::Rng;
use zenoh_buffers::{ZBuf, ZSlice};
use zenoh_protocol::core::Parameters;
#[cfg(feature = "shared-memory")]
Expand All @@ -3276,6 +3275,8 @@ mod tests {

use super::ZBytes;
use crate::bytes::{Deserialize, Serialize, ZSerde};
#[cfg(feature = "shared-memory")]
use crate::zenoh_core::Wait;

const NUM: usize = 1_000;

Expand Down

0 comments on commit 30b37b3

Please sign in to comment.