This commit is contained in:
Jakub Žádník 2021-09-26 14:12:39 +03:00
parent f57f7b2def
commit 3f8f3ecf9a
2 changed files with 2 additions and 3 deletions

View File

@ -14,8 +14,7 @@ impl Command for Use {
}
fn signature(&self) -> nu_protocol::Signature {
Signature::build("use")
.required("module_name", SyntaxShape::String, "module name")
Signature::build("use").required("module_name", SyntaxShape::String, "module name")
}
fn run(

View File

@ -1,6 +1,6 @@
use std::ops::{Index, IndexMut};
use crate::{Signature, DeclId};
use crate::{DeclId, Signature};
use super::Statement;