Skip to content

Commit e3a8a94

Browse files
authored
Merge pull request #290 from dandi/bf-lint
BF: Address linting errors (by @jwodder)
2 parents a6f0841 + 3a5288c commit e3a8a94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/s3/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ pub(crate) enum S3Error {
382382
ListObjects {
383383
bucket: CompactString,
384384
prefix: String,
385-
source: ListObjectsError,
385+
source: Box<ListObjectsError>,
386386
},
387387
#[error("invalid object found in S3 bucket {bucket:?} under prefix {prefix:?}")]
388388
BadObject {

src/s3/streams.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ impl ListEntryPages {
5151
self.die(S3Error::ListObjects {
5252
bucket: self.bucket.clone(),
5353
prefix: self.key_prefix.clone(),
54-
source,
54+
source: Box::new(source),
5555
})
5656
}
5757

0 commit comments

Comments
 (0)