diff options
| author | Teddy Wing | 2018-10-27 16:03:45 +0200 |
|---|---|---|
| committer | Teddy Wing | 2018-10-27 16:03:45 +0200 |
| commit | a72d8b6300e53477685f75755034f6824505fe05 (patch) | |
| tree | 6c1b3a9661d7dcda45ee600043d12e8efbe84964 /src | |
| parent | 9743e08ea07778ff9a009b95f8d37220a6893d5e (diff) | |
| download | dome-key-map-a72d8b6300e53477685f75755034f6824505fe05.tar.bz2 | |
datetime_local_to_fixed_offset(): Remove unused variable
No longer needed since 8369a753e24e1e2d986e9988793655f8923e182c. Forgot
to remove this line at the time.
Diffstat (limited to 'src')
| -rw-r--r-- | src/trial.rs | 1 |
1 files changed, 0 insertions, 1 deletions
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<DateTime<FixedOffset>> { /// Convert a `DateTime<Local>` into a `DateTime<FixedOffset>`. fn datetime_local_to_fixed_offset(d: DateTime<Local>) -> DateTime<FixedOffset> { - let offset = FixedOffset::from_offset(d.offset()); DateTime::<FixedOffset>::from_utc(d.naive_local(), FixedOffset::east(0)) } |
