We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00e2baa commit c32c65cCopy full SHA for c32c65c
.github/workflows/CI.yml
@@ -37,6 +37,13 @@ jobs:
37
- run: cargo +nightly update -Z minimal-versions
38
- run: cargo +stable test
39
40
+ clippy:
41
+ runs-on: ubuntu-latest
42
+ steps:
43
+ - uses: actions/checkout@v4
44
+ - run: rustup component add clippy
45
+ - run: cargo clippy --all-features --locked -- -D warnings
46
+
47
fmt:
48
name: Rustfmt
49
runs-on: ubuntu-latest
src/distribution.rs
@@ -164,7 +164,7 @@ impl Distribution {
164
#[cfg(feature = "xz")]
165
SDistType::XzTar => Self::parse_tar(XzDecoder::new_stream(
166
BufReader::new(fs_err::File::open(path)?),
167
- XzStream::new_auto_decoder(u64::max_value(), 0).unwrap(),
+ XzStream::new_auto_decoder(u64::MAX, 0).unwrap(),
168
)),
169
}
170
0 commit comments