From 2f7dea2df65e4902545e00546a46de904c6f2ea3 Mon Sep 17 00:00:00 2001 From: Mikail Bagishov Date: Fri, 1 May 2020 21:50:19 +0300 Subject: [PATCH] Update doctest --- actix-http/src/cookie/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-http/src/cookie/builder.rs b/actix-http/src/cookie/builder.rs index 80e7ee71f..b64352e35 100644 --- a/actix-http/src/cookie/builder.rs +++ b/actix-http/src/cookie/builder.rs @@ -63,7 +63,7 @@ impl CookieBuilder { /// use actix_http::cookie::Cookie; /// /// let c = Cookie::build("foo", "bar") - /// .expires(time::OffsetDateTime::now()) + /// .expires(time::OffsetDateTime::now_utc()) /// .finish(); /// /// assert!(c.expires().is_some());