diff --git a/crates/nu-command/src/use_.rs b/crates/nu-command/src/use_.rs index e317adbffb..30b5e3d0b0 100644 --- a/crates/nu-command/src/use_.rs +++ b/crates/nu-command/src/use_.rs @@ -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( diff --git a/crates/nu-protocol/src/ast/block.rs b/crates/nu-protocol/src/ast/block.rs index a5ea245664..70273816b5 100644 --- a/crates/nu-protocol/src/ast/block.rs +++ b/crates/nu-protocol/src/ast/block.rs @@ -1,6 +1,6 @@ use std::ops::{Index, IndexMut}; -use crate::{Signature, DeclId}; +use crate::{DeclId, Signature}; use super::Statement;