From 1f1620eed72f9b9c650576e3f6509c3267f0ab78 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Wed, 20 Aug 2014 01:31:07 +0200 Subject: [PATCH] doc: grammar fixes --- src/doc/complement-design-faq.md | 2 +- src/doc/guide-unsafe.md | 4 ++-- src/libserialize/json.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/doc/complement-design-faq.md b/src/doc/complement-design-faq.md index eb060d06cc4..a90a8737308 100644 --- a/src/doc/complement-design-faq.md +++ b/src/doc/complement-design-faq.md @@ -1,6 +1,6 @@ % The Rust Design FAQ -This document describes decisions were arrived at after lengthy discussion and +This document describes decisions that were arrived at after lengthy discussion and experimenting with alternatives. Please do not propose reversing them unless you have a new, extremely compelling argument. Note that this document specifically talks about the *language* and not any library or implementation. diff --git a/src/doc/guide-unsafe.md b/src/doc/guide-unsafe.md index b46b09781ca..a95401682cf 100644 --- a/src/doc/guide-unsafe.md +++ b/src/doc/guide-unsafe.md @@ -446,7 +446,7 @@ possible in two ways: the `#[start]` attribute, or overriding the default shim for the C `main` function with your own. The function marked `#[start]` is passed the command line parameters -in the same format as a C: +in the same format as C: ``` #![no_std] @@ -593,7 +593,7 @@ standard library itself. # Interacting with the compiler internals > **Note**: this section is specific to the `rustc` compiler; these -> parts of the language may never be full specified and so details may +> parts of the language may never be fully specified and so details may > differ wildly between implementations (and even versions of `rustc` > itself). > diff --git a/src/libserialize/json.rs b/src/libserialize/json.rs index 51b8985e655..64e30e75385 100644 --- a/src/libserialize/json.rs +++ b/src/libserialize/json.rs @@ -106,7 +106,7 @@ fn main() { ## Using the `ToJson` trait -The examples above use the `ToJson` trait to generate the JSON string, which required +The examples above use the `ToJson` trait to generate the JSON string, which is required for custom mappings. ### Simple example of `ToJson` usage -- GitLab