Roy Ivy III
|
df68c396c4
|
refactor/polish ~ fix cargo clippy complaints (allow map_clone)
.# [why]
Although `copied()` is preffered, it was not stabilized until rust v1.35.0.
So, 'map_clone' is allowed instead of increasing MinSRV to v1.35.0.
* ref: https://github.com/rust-lang/rust/blob/master/RELEASES.md
|
2020-01-27 22:35:27 -06:00 |
|
Roy Ivy III
|
99ce03f259
|
refactor/polish ~ fix cargo clippy complaints (allow many_single_char_names)
|
2020-01-27 22:35:27 -06:00 |
|
Roy Ivy III
|
44a60f773f
|
refactor/polish ~ fix cargo clippy complaints (allow 'let_and_return')
|
2020-01-27 22:35:27 -06:00 |
|
Roy Ivy III
|
a90e1abbd8
|
refactor/polish ~ fix cargo clippy complaints (allow enum_variant_names)
|
2020-01-27 22:35:27 -06:00 |
|
Roy Ivy III
|
5241eca084
|
refactor/polish ~ fix cargo clippy complaints (allow comparison_chain {for f64 comparisons})
|
2020-01-27 22:35:27 -06:00 |
|
Roy Ivy III
|
784887cc84
|
refactor/polish ~ fix cargo clippy complaints (allow comparison_chain)
|
2020-01-27 22:35:27 -06:00 |
|
Roy Ivy III
|
5094d6ffcc
|
refactor/polish ~ fix cargo clippy complaints (allow complexity)
|
2020-01-27 22:35:26 -06:00 |
|
Roy Ivy III
|
37c9b0e331
|
refactor/polish ~ fix cargo clippy complaints ('better' ref use/toplevel_ref_arg)
|
2020-01-27 22:35:26 -06:00 |
|
Roy Ivy III
|
58779be6bb
|
refactor/polish ~ fix cargo clippy complaints (transmute_ptr_to_ptr)
|
2020-01-27 22:35:26 -06:00 |
|
Roy Ivy III
|
1deac8df87
|
refactor/polish ~ fix cargo clippy complaints (new_ret_no_self)
|
2020-01-27 22:35:26 -06:00 |
|
Roy Ivy III
|
6131f6f0e1
|
refactor/polish ~ fix cargo clippy complaints (borrowed_box)
|
2020-01-27 22:35:26 -06:00 |
|
Roy Ivy III
|
8f2cdcfcb5
|
refactor/polish ~ fix cargo clippy complaints (trivially_copy_pass_by_ref)
|
2020-01-27 22:35:26 -06:00 |
|
Roy Ivy III
|
37a3db1819
|
refactor/polish ~ fix cargo clippy complaints (flat_map_identity)
|
2020-01-27 22:35:26 -06:00 |
|
Roy Ivy III
|
bffea950d9
|
refactor/polish ~ fix cargo clippy complaints (zero_ptr)
|
2020-01-27 22:35:26 -06:00 |
|
Roy Ivy III
|
248dfbac08
|
refactor/polish ~ fix cargo clippy complaints (comparison_chain)
|
2020-01-27 22:35:16 -06:00 |
|
Roy Ivy III
|
2ef9c9a28e
|
refactor/polish ~ fix cargo clippy complaints (unnecessary_unwrap)
|
2020-01-27 21:33:53 -06:00 |
|
Roy Ivy III
|
7cc3571657
|
refactor/polish ~ fix cargo clippy complaints (remove unit value as function arg)
|
2020-01-27 21:33:53 -06:00 |
|
Roy Ivy III
|
8ec50b72d1
|
refactor/polish ~ fix cargo clippy complaints (inefficient to_string() )
|
2020-01-27 21:33:53 -06:00 |
|
Roy Ivy III
|
334406028c
|
refactor/polish ~ fix cargo clippy complaints (remove useless lint attribute)
|
2020-01-27 21:33:53 -06:00 |
|
Roy Ivy III
|
aa2ed76846
|
refactor/polish ~ fix cargo clippy complaints (unneeded transmute)
|
2020-01-27 21:33:53 -06:00 |
|
Roy Ivy III
|
f933c60a41
|
refactor/polish ~ fix cargo clippy complaints (filter_map => filter)
|
2020-01-27 21:33:53 -06:00 |
|
Roy Ivy III
|
de9d702a32
|
refactor/polish ~ fix cargo clippy complaints (use enumerate)
|
2020-01-27 21:33:53 -06:00 |
|
Roy Ivy III
|
33e5d8c813
|
refactor/polish ~ fix cargo clippy complaints (into_iter => iter)
|
2020-01-27 21:33:53 -06:00 |
|
Roy Ivy III
|
d343d533ba
|
refactor/polish ~ fix cargo clippy complaints (avoid as ... )
|
2020-01-27 21:33:53 -06:00 |
|
Roy Ivy III
|
66124454e3
|
refactor/polish ~ fix cargo clippy complaints (remove ->() )
|
2020-01-27 21:33:53 -06:00 |
|
Roy Ivy III
|
55b3e4ea24
|
refactor/polish ~ fix cargo clippy complaints (simplify enum element names/NumberMode)
|
2020-01-27 21:33:53 -06:00 |
|
Roy Ivy III
|
82dc40f0af
|
refactor/polish ~ fix cargo clippy complaints (simplify enum element names/InteractiveMode)
|
2020-01-27 21:33:52 -06:00 |
|
Roy Ivy III
|
fd8e5acd57
|
refactor/polish ~ fix cargo clippy complaints (loop/match => while let)
|
2020-01-27 21:33:52 -06:00 |
|
Roy Ivy III
|
98039f176d
|
refactor/polish ~ fix cargo clippy complaints (String => str)
|
2020-01-27 21:33:52 -06:00 |
|
Roy Ivy III
|
3bddf84aec
|
refactor/polish ~ fix cargo clippy complaints (match => if let)
|
2020-01-27 21:33:52 -06:00 |
|
Roy Ivy III
|
600c40490b
|
refactor/polish ~ fix cargo clippy complaints (map => if let)
|
2020-01-27 21:33:52 -06:00 |
|
Roy Ivy III
|
739c2d5793
|
refactor/polish ~ fix cargo clippy complaints (use is_ok)
|
2020-01-27 21:33:52 -06:00 |
|
Roy Ivy III
|
8b18b7c206
|
refactor/polish ~ fix cargo clippy complaints (use is_null)
|
2020-01-27 21:33:52 -06:00 |
|
Roy Ivy III
|
bb15dcf1b8
|
refactor/polish ~ fix cargo clippy complaints (use is_empty / is_none)
|
2020-01-27 21:33:52 -06:00 |
|
Roy Ivy III
|
2931c808b6
|
refactor/polish ~ fix cargo clippy complaints (collapse equal if blocks)
|
2020-01-27 21:33:52 -06:00 |
|
Roy Ivy III
|
b003d55fe1
|
refactor/polish ~ fix cargo clippy complaints (collapse if-if)
|
2020-01-27 21:33:52 -06:00 |
|
Roy Ivy III
|
b8eb763e43
|
refactor/polish ~ fix cargo clippy complaints (collapse else-if)
|
2020-01-27 21:33:52 -06:00 |
|
Roy Ivy III
|
2db6fb20c9
|
refactor/polish ~ fix cargo clippy complaints (needless_lifetimes)
|
2020-01-27 21:33:51 -06:00 |
|
Roy Ivy III
|
8c97f0eebb
|
refactor/polish ~ fix cargo clippy complaints ('better' match indirection)
|
2020-01-27 21:33:51 -06:00 |
|
Roy Ivy III
|
ab87a1ab5f
|
refactor/polish ~ fix cargo clippy complaints ('better' ref indirection)
|
2020-01-27 21:33:51 -06:00 |
|
Roy Ivy III
|
94c088f452
|
refactor/polish ~ fix cargo clippy complaints (redundant return variable)
|
2020-01-27 21:33:51 -06:00 |
|
Roy Ivy III
|
88a45a157b
|
refactor/polish ~ fix cargo clippy complaints (redundant return)
|
2020-01-27 21:33:51 -06:00 |
|
Roy Ivy III
|
564168ccfc
|
refactor/polish ~ fix cargo clippy complaints (redundant clone)
|
2020-01-27 21:33:51 -06:00 |
|
Roy Ivy III
|
2e90c78fae
|
refactor/polish ~ fix cargo clippy complaints (redundant closure)
|
2020-01-27 21:33:51 -06:00 |
|
Roy Ivy III
|
fa8540cb15
|
refactor/polish ~ fix cargo clippy complaints (DRY struct def)
|
2020-01-27 21:33:51 -06:00 |
|
Roy Ivy III
|
ea8ed8d5da
|
refactor/polish ~ fix cargo clippy complaints (&Vec => &[])
|
2020-01-27 21:33:50 -06:00 |
|
Roy Ivy III
|
a72422fb0e
|
refactor/polish ~ fix cargo clippy complaints (Vec<> => [])
|
2020-01-27 21:33:50 -06:00 |
|
Roy Ivy III
|
ec5ca193ac
|
refactor/polish ~ fix cargo clippy complaints (char not string)
|
2020-01-27 21:33:50 -06:00 |
|
Roy Ivy III
|
11d68d3e51
|
refactor/polish ~ fix cargo clippy complaints (number readability)
|
2020-01-27 21:33:50 -06:00 |
|
Roy Ivy III
|
3da2a69e11
|
refactor/polish ~ fix cargo clippy complaints (unneeded String::from )
|
2020-01-27 21:33:50 -06:00 |
|