From 6f910d9fe987298f11787f27e3b39db2ebabdbec Mon Sep 17 00:00:00 2001 From: ysaito1001 Date: Wed, 25 Oct 2023 15:43:28 -0500 Subject: [PATCH] Fix clippy warning `new_without_default` --- .../aws-smithy-types/src/byte_stream/bytestream_util.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rust-runtime/aws-smithy-types/src/byte_stream/bytestream_util.rs b/rust-runtime/aws-smithy-types/src/byte_stream/bytestream_util.rs index 1dfe87b1e3..39965c90c5 100644 --- a/rust-runtime/aws-smithy-types/src/byte_stream/bytestream_util.rs +++ b/rust-runtime/aws-smithy-types/src/byte_stream/bytestream_util.rs @@ -87,6 +87,12 @@ pub struct FsBuilder { offset: Option, } +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 {