mirror of
https://github.com/nushell/nushell.git
synced 2025-05-30 14:50:02 +02:00
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…
x
Reference in New Issue
Block a user