Skip to content

Commit ca26709

Browse files
MaikKleinthestinger
authored andcommitted
---
yaml --- r: 142985 b: refs/heads/try2 c: b082302 h: refs/heads/master i: 142983: c6c1b61 v: v3
1 parent 2ae7a48 commit ca26709

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 0cdb0a21891b88ce8ef14edae1b3863fcf3983ab
8+
refs/heads/try2: b0823027275c298e78357b6719760e100fd12290
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/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)