forked from extern/nushell
Fix math log
signature (#9845)
While we are at it also fix `math log` to a more narrow type. This supersedes part of #9740
This commit is contained in:
parent
152a541696
commit
b6dafa6e67
@ -22,10 +22,9 @@ impl Command for SubCommand {
|
||||
)
|
||||
.input_output_types(vec![
|
||||
(Type::Number, Type::Float),
|
||||
(Type::Number, Type::Int),
|
||||
(
|
||||
Type::List(Box::new(Type::Number)),
|
||||
Type::List(Box::new(Type::Number)),
|
||||
Type::List(Box::new(Type::Float)),
|
||||
),
|
||||
])
|
||||
.allow_variants_without_examples(true)
|
||||
|
Loading…
Reference in New Issue
Block a user