forked from extern/nushell
Address clippy's warnings when porting date to engine-q
This commit is contained in:
parent
032356bfb7
commit
8707fbee33
@ -101,7 +101,6 @@ fn helper(value: Value, head: Span, timezone: &Spanned<String>) -> Value {
|
|||||||
|
|
||||||
Value::Nothing { span: _ } => {
|
Value::Nothing { span: _ } => {
|
||||||
let dt = Local::now();
|
let dt = Local::now();
|
||||||
|
|
||||||
_to_timezone(dt.with_timezone(dt.offset()), timezone, head)
|
_to_timezone(dt.with_timezone(dt.offset()), timezone, head)
|
||||||
}
|
}
|
||||||
_ => unsupported_input_error(),
|
_ => unsupported_input_error(),
|
||||||
|
Loading…
Reference in New Issue
Block a user