fix doc test

This commit is contained in:
Rob Ede 2021-04-08 23:46:49 +01:00
parent a0fe71d389
commit 77ea1cdd4b
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ impl ClientRequest {
/// async fn main() {
/// let resp = awc::Client::new().get("https://www.rust-lang.org")
/// .cookie(
/// awc::http::Cookie::build("name", "value")
/// awc::cookie::Cookie::build("name", "value")
/// .domain("www.rust-lang.org")
/// .path("/")
/// .secure(true)