We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ced7cc5 commit 9da1dd7Copy full SHA for 9da1dd7
src/doc/rustc/src/what-is-rustc.md
@@ -50,7 +50,7 @@ fn main() {
50
And a `foo.rs` that had this:
51
52
```rust,ignore
53
-fn hello() {
+pub fn hello() {
54
println!("Hello, world!");
55
}
56
```
@@ -65,4 +65,4 @@ No need to tell `rustc` about `foo.rs`; the `mod` statements give it
65
everything that it needs. This is different than how you would use a C
66
compiler, where you invoke the compiler on each file, and then link
67
everything together. In other words, the *crate* is a translation unit, not a
68
-particular module.
+particular module.
0 commit comments