diff options
| author | Luke Gallagher <luke@hypergeometric.net> | 2015-04-16 17:18:29 +1000 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-04-16 22:23:36 -0400 |
| commit | 6d367146330a94888dcb54ea840e7c9a7eee5e7c (patch) | |
| tree | a7f3b392b95cb872bae0fa1222c31f05aa9e18f2 | |
| parent | 0e4a77bbfeb56e715ffdc5419247c46f22ff1ffa (diff) | |
| download | rust-6d367146330a94888dcb54ea840e7c9a7eee5e7c.tar.gz rust-6d367146330a94888dcb54ea840e7c9a7eee5e7c.zip | |
Fix some documentation typos
| -rw-r--r-- | src/doc/reference.md | 6 | ||||
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 0ed23dae9b5..3b3c4ea6412 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -2368,7 +2368,7 @@ The currently implemented features of the reference compiler are: removed entirely for something more wholesome. * `custom_attribute` - Allows the usage of attributes unknown to the compiler - so that new attributes can be added in a bacwards compatible + so that new attributes can be added in a backwards compatible manner (RFC 572). * `custom_derive` - Allows the use of `#[derive(Foo,Bar)]` as sugar for @@ -2397,7 +2397,7 @@ The currently implemented features of the reference compiler are: nasty hack that will certainly be removed. * `main` - Allows use of the `#[main]` attribute, which changes the entry point - into a Rust program. This capabiilty is subject to change. + into a Rust program. This capability is subject to change. * `macro_reexport` - Allows macros to be re-exported from one crate after being imported from another. This feature was originally designed with the sole @@ -2453,7 +2453,7 @@ The currently implemented features of the reference compiler are: is unintuitive and suboptimal. * `start` - Allows use of the `#[start]` attribute, which changes the entry point - into a Rust program. This capabiilty, especially the signature for the + into a Rust program. This capability, especially the signature for the annotated function, is subject to change. * `struct_inherit` - Allows using struct inheritance, which is barely diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 659eb343232..d0975c76e93 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -10,7 +10,7 @@ //! Feature gating //! -//! This modules implements the gating necessary for preventing certain compiler +//! This module implements the gating necessary for preventing certain compiler //! features from being used by default. This module will crawl a pre-expanded //! AST to ensure that there are no features which are used that are not //! enabled. |
