From 1a1b6fbf85bda46bf024852e1c57087a7b1484d2 Mon Sep 17 00:00:00 2001 From: Pascal Hertleif Date: Wed, 20 Jul 2016 10:39:12 +0200 Subject: [PATCH] Fix Typo in Readme --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ef2741ad..d0892761 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ fn main() { This produces the following output when run: -``` +```sh % cargo run serialized vec: "[1,2]" deserialized vec: [1, 2] @@ -123,7 +123,7 @@ serde_json = "*" ``` Next, we define our source file, `src/main.rs.in`. Note this is a different -extension than usual becaues we need to do code generation: +extension than usual because we need to do code generation: ```rust,ignore #[derive(Serialize, Deserialize, Debug)] @@ -175,7 +175,7 @@ pub fn main() { All this produces this when run: -``` +```sh % cargo run {"x":1,"y":2} Point { x: 1, y: 2 } @@ -232,7 +232,7 @@ fn main() { This also produces the same output: -``` +```sh % cargo run {"x":1,"y":2} Point { x: 1, y: 2 } @@ -314,14 +314,14 @@ The `src/main.rs.in` is the same as before. Then to run with stable: -``` +```sh % cargo build ... ``` Or with nightly: -``` +```sh % cargo build --features nightly --no-default-features ... ```