Skip to content

Commit

Permalink
clippy doesn't fail on warnings (FuelLabs#583)
Browse files Browse the repository at this point in the history
* clippy doesn't fail on warnings

* Update clippy_check.yml

* fixed lints
  • Loading branch information
eureka-cpu authored Jan 6, 2022
1 parent 9ae1759 commit c55f7e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clippy_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
uses: actions-rs/[email protected]
with:
token: ${{ github.token }}
args: --all-features
args: --all-features -- -D warnings
2 changes: 1 addition & 1 deletion sway-core/src/semantic_analysis/namespace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ impl Namespace {
}
}
}
self.symbols.insert(name.clone(), item.clone());
self.symbols.insert(name, item);
ok((), warnings, errors)
}

Expand Down

0 comments on commit c55f7e7

Please sign in to comment.