Skip to content

Commit

Permalink
Reformat with nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
rkuris committed Feb 20, 2025
1 parent 1162214 commit 4d3622b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
15 changes: 7 additions & 8 deletions ffi/src/metrics.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
use std::{
collections::HashSet,
io::Write,
net::Ipv6Addr,
ops::Deref,
sync::{Arc, Once, atomic::Ordering},
time::SystemTime,
};
use std::collections::HashSet;
use std::io::Write;
use std::net::Ipv6Addr;
use std::ops::Deref;
use std::sync::atomic::Ordering;
use std::sync::{Arc, Once};
use std::time::SystemTime;

use oxhttp::Server;
use oxhttp::model::{Body, Response, StatusCode};
Expand Down
3 changes: 2 additions & 1 deletion storage/src/linear/filebacked.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ impl FileBacked {
pub(crate) fn make_op(&self, data: &[u8]) -> io_uring::opcode::Write {
use std::os::fd::AsRawFd as _;

use io_uring::{opcode::Write, types};
use io_uring::opcode::Write;
use io_uring::types;

Write::new(
types::Fd(self.fd.as_raw_fd()),
Expand Down

0 comments on commit 4d3622b

Please sign in to comment.