Skip to content

Commit 4d3622b

Browse files
committed
Reformat with nightly
1 parent 1162214 commit 4d3622b

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

ffi/src/metrics.rs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
use std::{
2-
collections::HashSet,
3-
io::Write,
4-
net::Ipv6Addr,
5-
ops::Deref,
6-
sync::{Arc, Once, atomic::Ordering},
7-
time::SystemTime,
8-
};
1+
use std::collections::HashSet;
2+
use std::io::Write;
3+
use std::net::Ipv6Addr;
4+
use std::ops::Deref;
5+
use std::sync::atomic::Ordering;
6+
use std::sync::{Arc, Once};
7+
use std::time::SystemTime;
98

109
use oxhttp::Server;
1110
use oxhttp::model::{Body, Response, StatusCode};

storage/src/linear/filebacked.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ impl FileBacked {
4747
pub(crate) fn make_op(&self, data: &[u8]) -> io_uring::opcode::Write {
4848
use std::os::fd::AsRawFd as _;
4949

50-
use io_uring::{opcode::Write, types};
50+
use io_uring::opcode::Write;
51+
use io_uring::types;
5152

5253
Write::new(
5354
types::Fd(self.fd.as_raw_fd()),

0 commit comments

Comments
 (0)