Skip to content

Commit b082302

Browse files
MaikKleinthestinger
authored andcommitted
updated manual
1 parent 0cdb0a2 commit b082302

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/rust.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -573,8 +573,7 @@ The top level of this tree is a module that is anonymous (from the point of view
573573

574574
The Rust compiler is always invoked with a single source file as input, and always produces a single output crate.
575575
The processing of that source file may result in other source files being loaded as modules.
576-
Source files typically have the extension `.rs` but, by convention,
577-
source files that represent crates have the extension `.rc`, called *crate files*.
576+
Source files have the extension `.rs`.
578577

579578
A Rust source file describes a module, the name and
580579
location of which -- in the module tree of the current crate -- are defined
@@ -3286,7 +3285,7 @@ As an example, to see all the logs generated by the compiler, you would set
32863285
you would set it to `rustc::metadata::creader`. To see just error logging
32873286
use `rustc=0`.
32883287

3289-
Note that when compiling either `.rs` or `.rc` files that don't specify a
3288+
Note that when compiling source files that don't specify a
32903289
crate name the crate is given a default name that matches the source file,
32913290
with the extension removed. In that case, to turn on logging for a program
32923291
compiled from, e.g. `helloworld.rs`, `RUST_LOG` should be set to `helloworld`.

0 commit comments

Comments
 (0)