Rocket

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 2b89acb5bcd3b0640d00d0b58c92b5353246476e
parent 3798cd3e6516295cdea78ed6a13a0dc1a2c689ce
Author: Sergio Benitez <sb@sergio.bz>
Date:   Fri, 26 Oct 2018 03:32:50 -0700

Use better verbage on site index.

Diffstat:
Msite/index.toml | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/site/index.toml b/site/index.toml @@ -23,7 +23,7 @@ url = "overview/#anatomy-of-a-rocket-application" [[top_features]] title = "Easy To Use" -text = "Rocket makes extensive use of Rust's code generation tools to provide a clean API." +text = "Simple, intuitive APIs make Rocket approachable, no matter your background." image = "sun" button = "Get Started" url = "guide" @@ -31,7 +31,7 @@ margin = 2 [[top_features]] title = "Extensible" -text = "Easily create your own primitives that any Rocket application can use." +text = "Create your own first-class primitives that any Rocket application can use." image = "telescope" button = "See How" url = "overview/#anatomy-of-a-rocket-application" @@ -105,10 +105,10 @@ code = ''' contents: String, } - #[put("/<id>", data = "<message>")] - fn update(db: &Db, id: Id, message: Json<Message>) -> JsonValue { + #[put("/<id>", data = "<msg>")] + fn update(db: &Db, id: Id, msg: Json<Message>) -> JsonValue { if db.contains_key(&id) { - db.insert(id, &message.contents); + db.insert(id, &msg.contents); json!({ "status": "ok" }) } else { json!({ "status": "error" })