diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-10-10 17:08:21 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-10-10 17:18:12 -0700 |
| commit | 304a2455c07fd66abbf3a110c953d0f47ecdec74 (patch) | |
| tree | 535beee2055541c4f64c7e7ea148a9a56a82cab1 /doc/rust.md | |
| parent | c639f44adbb6652232650084df15422093ed4f56 (diff) | |
| download | rust-304a2455c07fd66abbf3a110c953d0f47ecdec74.tar.gz rust-304a2455c07fd66abbf3a110c953d0f47ecdec74.zip | |
Mention deprecation of crate files.
Diffstat (limited to 'doc/rust.md')
| -rw-r--r-- | doc/rust.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/rust.md b/doc/rust.md index 29b99dd587f..83d0b886e9d 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -591,6 +591,9 @@ Crates are provided to the Rust compiler through two kinds of file: - _crate files_, that end in `.rc` and each define a `crate`. - _source files_, that end in `.rs` and each define a `module`. +> **Note:** The functionality of crate files will be merged into source files in future versions of Rust. +> The separate processing of crate files, both their grammar and file extension, will be removed. + The Rust compiler is always invoked with a single input file, and always produces a single output crate. |
