From 8707fbee33975613675af6a54e05a43837761e24 Mon Sep 17 00:00:00 2001 From: Stefan Stanciulescu Date: Sun, 31 Oct 2021 21:06:58 +0100 Subject: [PATCH] Address clippy's warnings when porting date to engine-q --- crates/nu-command/src/date/to_timezone.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/nu-command/src/date/to_timezone.rs b/crates/nu-command/src/date/to_timezone.rs index 9bb256503..0b3d50838 100644 --- a/crates/nu-command/src/date/to_timezone.rs +++ b/crates/nu-command/src/date/to_timezone.rs @@ -101,7 +101,6 @@ fn helper(value: Value, head: Span, timezone: &Spanned) -> Value { Value::Nothing { span: _ } => { let dt = Local::now(); - _to_timezone(dt.with_timezone(dt.offset()), timezone, head) } _ => unsupported_input_error(),