You've already forked uutils-args
mirror of
https://github.com/uutils/uutils-args.git
synced 2026-06-10 16:13:08 -07:00
fix nightly clippy warnings
Note that this still compiles warning-free with rustc 1.70.
This commit is contained in:
+2
-1
@@ -286,7 +286,7 @@ fn actions() {
|
||||
fn apply(&mut self, arg: Arg) {
|
||||
match arg {
|
||||
Arg::Message(m) => {
|
||||
self.last_message = m.clone();
|
||||
self.last_message.clone_from(&m);
|
||||
self.messages.push(m);
|
||||
}
|
||||
Arg::Send => self.send = true,
|
||||
@@ -617,6 +617,7 @@ fn empty_value() {
|
||||
Val(V),
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
struct Settings {}
|
||||
|
||||
impl Options<Arg> for Settings {
|
||||
|
||||
Reference in New Issue
Block a user