Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
avitex committed Feb 15, 2021
1 parent ab7f4cd commit 9b6f178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: cargo test --no-default-features --features retry
- name: Lint code
if: ${{ matrix.rust-toolchain == 'stable' }}
run: cargo fmt -- --check && cargo clippy
run: cargo fmt -- --check && cargo clippy --all-features
code_coverage:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion src/support/nom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ where
where
E: WithContext<'i>,
{
for (input, kind) in self.errors.into_iter() {
for (input, kind) in self.errors {
error = error.with_context(NomVerboseContext {
span: input.as_bytes().into(),
kind,
Expand Down

0 comments on commit 9b6f178

Please sign in to comment.