Run cargo fmt

This commit is contained in:
Sosthène Guédon
2024-03-19 14:05:47 +01:00
parent 76b8e62f13
commit 960e57d9fc
+2 -2
View File
@@ -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>,
}
@@ -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")]