forked from not-fl3/miniquad
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix clippy warnings, mainly for linux
Notes: - Warnings related to unsafe code has not been touched. - The number of warnings has been reduced from 527 to 3. - A few lints has been allowed globally, for convenience. Fixes: - fixed macros to use `$` in `$crate::`. - broke some long lines for readability. - solved some unneded mutable references. - simplified unneeded vecs for arrays. - simplified unneeded explicit returns. - simplified unneeded redundant conversions. - simplified fn signatures returning unit type. - simplified verbose comparisons with booleans. - simplified unnecessary explicit dereferences. - allowed some functions with too many args. - implemented `Default` for several items. - ...among others.
- Loading branch information
Showing
18 changed files
with
434 additions
and
424 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
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
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
Oops, something went wrong.