diff --git a/juniper_rocket_async/src/lib.rs b/juniper_rocket_async/src/lib.rs index 84168a35..c32b1e70 100644 --- a/juniper_rocket_async/src/lib.rs +++ b/juniper_rocket_async/src/lib.rs @@ -155,7 +155,7 @@ impl GraphQLResponse { /// # extern crate juniper_rocket_async; /// # extern crate rocket; /// # - /// # use rocket::http::Cookies; + /// # use rocket::http::CookieJar; /// # use rocket::request::Form; /// # use rocket::response::content; /// # use rocket::State; @@ -168,7 +168,7 @@ impl GraphQLResponse { /// # /// #[rocket::get("/graphql?")] /// fn get_graphql_handler( - /// mut cookies: Cookies, + /// cookies: &CookieJar, /// context: State, /// request: Form, /// schema: State,