Skip to content

Commit

Permalink
Fix clippy warning new_without_default
Browse files Browse the repository at this point in the history
  • Loading branch information
ysaito1001 committed Oct 25, 2023
1 parent 4f52e85 commit 6f910d9
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ pub struct FsBuilder {
offset: Option<u64>,
}

impl Default for FsBuilder {
fn default() -> Self {
Self::new()
}
}

/// The length (in bytes) to read. Determines whether or not a short read counts as an error.
#[allow(missing_debug_implementations)]
pub enum Length {
Expand Down

0 comments on commit 6f910d9

Please sign in to comment.