supress warnings

This commit is contained in:
Gabriel B Gutierrez 2021-10-14 18:14:59 -03:00
parent b3192ddc97
commit 28b26ca44d
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ use crate::filesystem::util::FileStructure;
pub struct Cp;
#[allow(unused_must_use)]
impl Command for Cp {
fn name(&self) -> &str {
"cp"

View File

@ -9,6 +9,7 @@ use nu_protocol::{ShellError, Signature, SyntaxShape, Value};
pub struct Mv;
#[allow(unused_must_use)]
impl Command for Mv {
fn name(&self) -> &str {
"mv"