Roy Ivy III
b8da0d7a8c
maint/docs ~ add license notation to all workspace packages
2020-04-12 16:57:11 -05:00
Roy Ivy III
d704fb2b61
printf: refactor ~ remove redundant string allocation
2020-04-12 16:56:05 -05:00
Roy Ivy III
3e3dff3a57
ls: refactor ~ improve line bundling of imports
2020-04-12 16:56:05 -05:00
Roy Ivy III
84f05f209c
expand: refactor/polish ~ simplify if condition
2020-04-12 16:56:04 -05:00
Roy Ivy III
ecb8f2873a
refactor ~ change repair of 'fix cargo clippy
complaints (fatal/same if clause)'
...
.# [why]
The initial refactoring/repair led to comments within if conditions which is
objectionable to some of the devs. So, this changes the refactor to completely split
the if clauses into separate if statements (with corresponding commentary).
Note: this refactor is "less mechanical" and does increase the risk of changing the
actual effect of the code. But the change is small and the tests are passing.
2020-04-12 16:56:04 -05:00
Roy Ivy III
156502a332
refactor ~ reduce excessive use of scope prefixes
2020-04-12 16:56:04 -05:00
Roy Ivy III
78d55f0e32
refactor/polish ~ fix cargo clippy
complaints (fix/remove allow range_plus_one)
2020-04-12 16:56:04 -05:00
Roy Ivy III
1c97a29a56
maint/build ~ refactor dependency specifications (sorted, single lines) of 'Cargo.toml'
2020-04-12 16:56:04 -05:00
Roy Ivy III
7e15375d82
refactor ~ clean up main directory (move '{mk,uu}main.rs' into src/#common)
2020-04-11 18:50:12 -05:00
Roy Ivy III
9675addc50
refactor/polish ~ fix cargo clippy
complaints (skip_while_next)
2020-04-11 18:50:11 -05:00
Roy Ivy III
0cf704a1bf
refactor/polish ~ fix cargo clippy
complaints (wildcard_in_or_patt)
2020-04-11 18:50:11 -05:00
Roy Ivy III
5224c3cd49
refactor/polish ~ fix rustc
complaints (unused_parens)
2020-04-11 18:50:11 -05:00
Roy Ivy III
ecc895e7a1
refactor/polish ~ fix cargo clippy
complaints (iter_nth_zero)
2020-04-11 18:50:11 -05:00
Roy Ivy III
ce0bb218a7
refactor/polish ~ fix cargo clippy
complaints (deprecated std::error::Error::description)
2020-04-11 18:50:11 -05:00
Roy Ivy III
0635c5fe93
refactor/polish ~ fix cargo clippy
complaints (unused_parens)
2020-04-11 18:50:11 -05:00
Roy Ivy III
c484fb8065
refactor/polish ~ fix cargo clippy
complaints (missing_safety_doc; with ToDO for safety note)
2020-04-11 18:50:10 -05:00
Roy Ivy III
0fdf27c5c2
refactor/polish ~ fix cargo clippy
complaints (iter_skip_next)
2020-04-11 18:50:10 -05:00
Roy Ivy III
84e26b3d0b
refactor/polish ~ fix cargo clippy
complaints (or_fun_call)
2020-04-11 18:50:10 -05:00
Roy Ivy III
9b145bb6c4
refactor/polish ~ fix cargo clippy
complaints (unreadable_literal)
2020-04-11 18:50:10 -05:00
Roy Ivy III
75f05df119
refactor/polish ~ fix cargo clippy
complaints (redundant_static_lifetimes)
2020-04-11 18:50:10 -05:00
Roy Ivy III
c4a69f2f4e
refactor/polish ~ fix cargo clippy
complaints (allow trivially_copy_pass_by_ref)
2020-04-11 18:50:10 -05:00
Roy Ivy III
1d26e901f9
fix 32-bit/i686 target builds
2020-04-11 18:50:09 -05:00
Roy Ivy III
5af8503a5e
cargo fmt
2020-01-28 00:05:06 -06:00
Roy Ivy III
15722e3ace
refactor/polish ~ fix cargo clippy
complaints (unused imports)
2020-01-28 00:04:41 -06:00
Roy Ivy III
daecc56d47
refactor/polish ~ fix cargo clippy
complaints (unwrap_or_else)
2020-01-27 22:35:28 -06:00
Roy Ivy III
b4866afb9a
refactor/polish ~ fix cargo clippy
complaints (deprecated uint64_t)
2020-01-27 22:35:28 -06:00
Roy Ivy III
a6bdad314d
refactor/polish ~ fix cargo clippy
complaints (allow deprecated mem::uninitialized)
...
.# [why]
`std::mem::MaybeUninit` is likely preffered. But `MaybeUninit` was not
stabilized until rust v1.36.0 and conversion from `mem::uninitialized` is
not obviously straight-forward at the moment.
So, 'std::mem::uninitialized' is allowed instead of increasing MinSRV to v1.36.0.
* ref: https://github.com/rust-lang/rust/blob/master/RELEASES.md
2020-01-27 22:35:28 -06:00
Roy Ivy III
082f9520b2
refactor/polish ~ fix cargo clippy
complaints (allow useless_let_if_seq)
2020-01-27 22:35:28 -06:00
Roy Ivy III
d82a170351
refactor/polish ~ fix cargo clippy
complaints (allow unreadable_literal {for dynamic code})
2020-01-27 22:35:28 -06:00
Roy Ivy III
372ddf9222
refactor/polish ~ fix cargo clippy
complaints (allow too_many_args)
2020-01-27 22:35:28 -06:00
Roy Ivy III
6c7c4788d8
refactor/polish ~ fix cargo clippy
complaints (allow single_match)
2020-01-27 22:35:28 -06:00
Roy Ivy III
6230ab302a
refactor/polish ~ fix cargo clippy
complaints (allow range_plus_one; clippy
bug workaround)
...
* ref: <https://github.com/rust-lang/rust-clippy/issues/4898 >
2020-01-27 22:35:28 -06:00
Roy Ivy III
522d3ae1b6
refactor/polish ~ fix cargo clippy
complaints (allow ptr_arg)
2020-01-27 22:35:27 -06:00
Roy Ivy III
b8c0711273
refactor/polish ~ fix cargo clippy
complaints (allow ptr_arg)
2020-01-27 22:35:27 -06:00
Roy Ivy III
e80970cb92
refactor/polish ~ fix cargo clippy
complaints (allow module_inception)
2020-01-27 22:35:27 -06:00
Roy Ivy III
cc49983314
refactor/polish ~ fix cargo clippy
complaints (allow missing_safety_doc)
2020-01-27 22:35:27 -06:00
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