-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve clippy warnings and errors (#45)
* apply clippy: mark dead_code as unused * apply rustfmt to files * apply clippy: replace literal with constant * apply clippy: resolve needless borrows * apply clippy: resolve single_char_pattern * apply clippy: resolve let_and_return * clippy: clone_on_copy * clippy: remove explicit_counter_loop * clippy: solve needless_range_loop * clippy: solve assign_op_pattern * clippy: solve manual_swap * clippy: solve unnecessary_cast * clippy: solve collapsible_else_if * clippy: solve neg_cmp_op_on_partial_ord * clippy: allow too_many_arguments * clippy: solve bool_assert_comparison * clippy: useless_vec * allow clippy excessive precision * allow clippy complex type * correct conditions to be explict abt NaN behavior * remove leftover println * add comment about diverge from Karney's impl * satisfy api guidelines rule C-COMMON-TRAITS * remove default traits from Geodisc & GeodesicLine
- Loading branch information
Showing
5 changed files
with
156 additions
and
155 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
Oops, something went wrong.