Skip to content

Commit

Permalink
Run cargo fmt over the project (#52)
Browse files Browse the repository at this point in the history
To make things more consistant with the recent changes to the edition
  • Loading branch information
mdaffin authored Oct 29, 2022
1 parent d9fb0c5 commit 1b66a5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
extern crate libc;

#[cfg(feature = "direct_io")]
use bindings::LOOP_SET_DIRECT_IO;
use crate::bindings::{
loop_info64, LOOP_CLR_FD, LOOP_CTL_GET_FREE, LOOP_SET_CAPACITY, LOOP_SET_FD, LOOP_SET_STATUS64,
LO_FLAGS_AUTOCLEAR, LO_FLAGS_PARTSCAN, LO_FLAGS_READ_ONLY,
};
#[cfg(feature = "direct_io")]
use bindings::LOOP_SET_DIRECT_IO;
use libc::{c_int, ioctl};
use std::{
default::Default,
Expand Down

0 comments on commit 1b66a5c

Please sign in to comment.