We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef72938 commit f9bfebbCopy full SHA for f9bfebb
src/doc/trpl/hello-cargo.md
@@ -33,7 +33,8 @@ $ mv main.rs src/main.rs
33
```
34
35
Note that since we're creating an executable, we used `main.rs`. If we
36
-want to make a library instead, we should use `lib.rs`.
+want to make a library instead, we should use `lib.rs`. This convention is required
37
+for Cargo to successfully compile our projects.
38
Custom file locations for the entry point can be specified
39
with a [`[[lib]]` or `[[bin]]`][crates-custom] key in the TOML file described below.
40
0 commit comments