From 951aabb61d3c01e68a81b4ddf2090cfcf945f732 Mon Sep 17 00:00:00 2001 From: Sam Scott Date: Sat, 7 Jan 2023 13:59:50 -0600 Subject: Fix axum examples. --- tests/test_chrono.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/test_chrono.rs') 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, } + #[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, } + #[allow(deprecated)] let _expected = Params { date_time: FixedOffset::east(9 * 3600) .ymd(2014, 11, 28) -- cgit v1.2.3