From a72d8b6300e53477685f75755034f6824505fe05 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 27 Oct 2018 16:03:45 +0200 Subject: datetime_local_to_fixed_offset(): Remove unused variable No longer needed since 8369a753e24e1e2d986e9988793655f8923e182c. Forgot to remove this line at the time. --- src/trial.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/trial.rs b/src/trial.rs index 6358f23..4e5d762 100644 --- a/src/trial.rs +++ b/src/trial.rs @@ -89,7 +89,6 @@ fn initialize_trial_start() -> Result> { /// Convert a `DateTime` into a `DateTime`. fn datetime_local_to_fixed_offset(d: DateTime) -> DateTime { - let offset = FixedOffset::from_offset(d.offset()); DateTime::::from_utc(d.naive_local(), FixedOffset::east(0)) } -- cgit v1.2.3