Skip to content

Commit

Permalink
Run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Mar 19, 2024
1 parent 76b8e62 commit 960e57d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ impl<S: driver::Storage> FileAllocation<S> {

pub struct File<'a, 'b, S: driver::Storage> {
// We must store a raw pointer here since the FFI retains a copy of a pointer
// to the field alloc.state, so we cannot assert unique mutable access.
// to the field alloc.state, so we cannot assert unique mutable access.
alloc: RefCell<*mut FileAllocation<S>>,
fs: &'b Filesystem<'a, S>,
}
Expand Down Expand Up @@ -1054,7 +1054,7 @@ impl ReadDirAllocation {

pub struct ReadDir<'a, 'b, S: driver::Storage> {
// We must store a raw pointer here since the FFI retains a copy of a pointer
// to the field alloc.state, so we cannot assert unique mutable access.
// to the field alloc.state, so we cannot assert unique mutable access.
alloc: RefCell<*mut ReadDirAllocation>,
fs: &'b Filesystem<'a, S>,
#[cfg(feature = "dir-entry-path")]
Expand Down

0 comments on commit 960e57d

Please sign in to comment.