Skip to content

Commit c1f6d6a

Browse files
committed
Fix some documentation typos
1 parent 288809c commit c1f6d6a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/doc/reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2368,7 +2368,7 @@ The currently implemented features of the reference compiler are:
23682368
removed entirely for something more wholesome.
23692369

23702370
* `custom_attribute` - Allows the usage of attributes unknown to the compiler
2371-
so that new attributes can be added in a bacwards compatible
2371+
so that new attributes can be added in a backwards compatible
23722372
manner (RFC 572).
23732373

23742374
* `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:
23972397
nasty hack that will certainly be removed.
23982398

23992399
* `main` - Allows use of the `#[main]` attribute, which changes the entry point
2400-
into a Rust program. This capabiilty is subject to change.
2400+
into a Rust program. This capability is subject to change.
24012401

24022402
* `macro_reexport` - Allows macros to be re-exported from one crate after being imported
24032403
from another. This feature was originally designed with the sole
@@ -2453,7 +2453,7 @@ The currently implemented features of the reference compiler are:
24532453
is unintuitive and suboptimal.
24542454

24552455
* `start` - Allows use of the `#[start]` attribute, which changes the entry point
2456-
into a Rust program. This capabiilty, especially the signature for the
2456+
into a Rust program. This capability, especially the signature for the
24572457
annotated function, is subject to change.
24582458

24592459
* `struct_inherit` - Allows using struct inheritance, which is barely

src/libsyntax/feature_gate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! Feature gating
1212
//!
13-
//! This modules implements the gating necessary for preventing certain compiler
13+
//! This module implements the gating necessary for preventing certain compiler
1414
//! features from being used by default. This module will crawl a pre-expanded
1515
//! AST to ensure that there are no features which are used that are not
1616
//! enabled.

0 commit comments

Comments
 (0)