Skip to content
This repository was archived by the owner on Nov 29, 2025. It is now read-only.

Commit 10e9971

Browse files
committed
chore: Run cargo fmt
1 parent c7d8a0a commit 10e9971

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

benches/bench.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
use bencher::{benchmark_group, benchmark_main, Bencher};
2-
use sonyflake::{decompose, Sonyflake};
1+
use bencher::{Bencher, benchmark_group, benchmark_main};
2+
use sonyflake::{Sonyflake, decompose};
33

44
fn bench_new(b: &mut Bencher) {
55
b.iter(Sonyflake::new);

src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::sync::{Arc, Mutex};
55

66
use crate::{
77
error::{BoxDynError, Error},
8-
sonyflake::{to_sonyflake_time, Internals, SharedSonyflake, Sonyflake, BIT_LEN_SEQUENCE},
8+
sonyflake::{BIT_LEN_SEQUENCE, Internals, SharedSonyflake, Sonyflake, to_sonyflake_time},
99
};
1010

1111
/// A builder to build a [`Sonyflake`] generator.

src/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use thiserror::Error;
1313
use crate::{
1414
builder::lower_16_bit_private_ip,
1515
error::*,
16-
sonyflake::{decompose, to_sonyflake_time, Sonyflake, BIT_LEN_SEQUENCE, BIT_LEN_TIME},
16+
sonyflake::{BIT_LEN_SEQUENCE, BIT_LEN_TIME, Sonyflake, decompose, to_sonyflake_time},
1717
};
1818

1919
#[test]

0 commit comments

Comments
 (0)