Update doctest

This commit is contained in:
Mikail Bagishov 2020-05-01 21:50:19 +03:00
parent a1772b4430
commit 2f7dea2df6
No known key found for this signature in database
GPG Key ID: 63CF4B1F9D921A40
1 changed files with 1 additions and 1 deletions

View File

@ -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());