Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
antangelo committed Aug 26, 2024
1 parent 33d6604 commit 4f15630
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xdvdfs-core/src/blockdev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use alloc::boxed::Box;
const XDVD_OFFSETS: &[u64] = &[0, 387 * 1024 * 1024];

/// Trait for read operations on some block device containing an XDVDFS filesystem
///
/// Calls to `read` will always be thread safe (that is, no two calls to `read` will
/// be made on the same blockdevice at the same time)
#[cfg(feature = "read")]
Expand All @@ -15,6 +16,7 @@ pub trait BlockDeviceRead<E>: Send + Sync {
}

/// Trait for write operations on some block device
///
/// Calls to trait methods will always be thread safe (that is, no two calls within the trait will
/// be made on the same blockdevice at the same time)
#[cfg(feature = "write")]
Expand Down

0 comments on commit 4f15630

Please sign in to comment.