Fix several typos.

This commit is contained in:
Jacob Sharf 2023-03-23 14:56:12 -07:00 committed by Sergio Benitez
parent 0e6b786096
commit 89919aa3cb
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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"))