diff options
author | Sam Scott <sam@osohq.com> | 2023-01-07 13:59:50 -0600 |
---|---|---|
committer | Sam Scott <sam@osohq.com> | 2023-01-07 13:59:50 -0600 |
commit | 951aabb61d3c01e68a81b4ddf2090cfcf945f732 (patch) | |
tree | 31ab8b2af7958fb4c9f6608e328892de16b15682 /tests/test_chrono.rs | |
parent | fbe9c6bcf2bf19dc46ecf60e255d52f4224359f2 (diff) |
Fix axum examples.
Diffstat (limited to 'tests/test_chrono.rs')
-rw-r--r-- | tests/test_chrono.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_chrono.rs b/tests/test_chrono.rs index 8267d56..bf43c8a 100644 --- a/tests/test_chrono.rs +++ b/tests/test_chrono.rs @@ -11,6 +11,7 @@ fn test_dates() { date_time: DateTime<FixedOffset>, } + #[allow(deprecated)] let params = Params { date_time: FixedOffset::east(9 * 3600) .ymd(2014, 11, 28) @@ -34,6 +35,7 @@ fn test_improperly_encoded_dates() { date_time: DateTime<FixedOffset>, } + #[allow(deprecated)] let _expected = Params { date_time: FixedOffset::east(9 * 3600) .ymd(2014, 11, 28) |