Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ pub const FILEBYTES_MAX: u32 = crate::ll::LFS_FILE_MAX as _;
pub const ATTRBYTES_MAX: u32 = 1_022;
pub type ATTRBYTES_MAX_TYPE = U1022;
pub const LOOKAHEADWORDS_SIZE: u32 = 16;

5 changes: 1 addition & 4 deletions src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
use generic_array::ArrayLength;
use littlefs2_sys as ll;

use crate::{
io::Result,
};
use crate::io::Result;

/// Users of this library provide a "storage driver" by implementing this trait.
///
Expand All @@ -23,7 +21,6 @@ use crate::{
/// Once that's done, we can get rid of `generic-array`s, and replace the
/// `*_SIZE` types with `usize`s.
pub trait Storage {

// /// Error type for user-provided read/write/erase methods
// type Error = usize;

Expand Down
Loading