File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ The `crate_type` attribute can be used to tell the compiler whether a crate is
4
4
a binary or a library (and even which type of library), and the ` crate_name `
5
5
attribute can be used to set the name of the crate.
6
6
7
- However, it is important to note that the ` crate_type ` attribute has ** no **
8
- effect whatsoever when using Cargo, the Rust package manager. Since Cargo is
9
- used for the majority of Rust projects, this means real-world uses of
10
- ` crate-type ` are relatively limited.
7
+ However, it is important to note that both the ` crate_type ` and ` crate_name `
8
+ attributes have ** no ** effect whatsoever when using Cargo, the Rust package
9
+ manager. Since Cargo is used for the majority of Rust projects, this means
10
+ real-world uses of ` crate-type ` and ` crate_name ` are relatively limited.
11
11
12
12
``` rust,editable
13
13
// This crate is a library
You can’t perform that action at this time.
0 commit comments