-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ndk: Remove and warn on trivial casts
`trivial-casts` is allowed by default as it still has some odd cases where the lint triggers incorrectly or is difficult to fix. For our intents and purposes however it works just fine and prevents against riddling the code with unnecessary - usually untyped - `as` casts. https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#explanation-22
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters