Skip to content

Commit 284f234

Browse files
Merge pull request #121 from mhansen/fmt
Run cargo fmt
2 parents e919590 + e50bbbd commit 284f234

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/unzip/seekable_http_reader.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ const DEFAULT_MAX_BLOCK: usize = 1024 * 1024;
4141
const DEFAULT_SKIP_AHEAD_THRESHOLD: u64 = 2 * 1024 * 1024; // 2MB
4242

4343
/// A hint to the [`SeekableHttpReaderEngine`] about the expected access pattern.
44-
#[derive(Debug, Clone, Copy, Eq, PartialEq)]
45-
#[derive(Default)]
44+
#[derive(Debug, Clone, Copy, Eq, PartialEq, Default)]
4645
pub(crate) enum AccessPattern {
4746
/// We expect accesses all over the file.
4847
#[default]
@@ -53,7 +52,6 @@ pub(crate) enum AccessPattern {
5352
SequentialIsh,
5453
}
5554

56-
5755
/// Errors that may be returned by a [`SeekableHttpReaderEngine` or `SeekableHttpReader`].
5856
#[derive(Error, Debug)]
5957
pub(crate) enum Error {

0 commit comments

Comments
 (0)