Cover all features with clippy (#527)

* Fix lint

* Cover all/no features with clippy
This commit is contained in:
Benjamin Saunders 2021-12-23 14:26:48 -08:00 committed by GitHub
parent f99f9cfa90
commit be6d767b03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -96,4 +96,8 @@ jobs:
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
command: clippy command: clippy
args: --workspace --all-targets -- -D warnings args: -p ash --no-default-features -- -D warnings
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --workspace --all-targets --all-features -- -D warnings

View file

@ -355,7 +355,7 @@ mod loaded {
impl From<MissingEntryPoint> for LoadingError { impl From<MissingEntryPoint> for LoadingError {
fn from(err: MissingEntryPoint) -> Self { fn from(err: MissingEntryPoint) -> Self {
LoadingError::MissingEntryPoint(err) Self::MissingEntryPoint(err)
} }
} }
} }