mirror of https://github.com/rwf2/Rocket.git
Fix several typos.
This commit is contained in:
parent
0e6b786096
commit
89919aa3cb
|
@ -2168,7 +2168,7 @@ the Rocket APIs. They are summarized through the following API changes:
|
||||||
* Added `FromData` conversion trait and default implementation.
|
* Added `FromData` conversion trait and default implementation.
|
||||||
* `FromData` is used to automatically derive the `data` parameter.
|
* `FromData` is used to automatically derive the `data` parameter.
|
||||||
* `Responder`s are now final: they cannot forward to other requests.
|
* `Responder`s are now final: they cannot forward to other requests.
|
||||||
* `Responser`s may only forward to catchers.
|
* `Responder`s may only forward to catchers.
|
||||||
|
|
||||||
## Breaking
|
## Breaking
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ mod many_cookie_jars_tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_mutli_add() {
|
fn test_multi_add() {
|
||||||
let client = Client::debug(rocket()).unwrap();
|
let client = Client::debug(rocket()).unwrap();
|
||||||
let response = client.post("/").dispatch();
|
let response = client.post("/").dispatch();
|
||||||
let cookies = response.cookies();
|
let cookies = response.cookies();
|
||||||
|
@ -38,7 +38,7 @@ mod many_cookie_jars_tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_mutli_get() {
|
fn test_multi_get() {
|
||||||
let client = Client::debug(rocket()).unwrap();
|
let client = Client::debug(rocket()).unwrap();
|
||||||
let response = client.get("/")
|
let response = client.get("/")
|
||||||
.cookie(Cookie::new("a", "a_val"))
|
.cookie(Cookie::new("a", "a_val"))
|
||||||
|
|
Loading…
Reference in New Issue