Fix typo in JSON example

This commit is contained in:
Josh Holmer 2017-02-16 21:56:44 -05:00
parent 0acfea9c71
commit 37bbf38d36
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ struct Message {
contents: String
}
// TODO: This example can be improved by using `route` with muliple HTTP verbs.
// TODO: This example can be improved by using `route` with multiple HTTP verbs.
#[post("/<id>", format = "application/json", data = "<message>")]
fn new(id: ID, message: JSON<Message>, map: State<MessageMap>) -> JSON<Value> {
let mut hashmap = map.lock().expect("map lock.");