Tutorial section on crates shouldn't mention --lib #2070
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Milestone
http://doc.rust-lang.org/doc/tutorial.html#crates
It discusses using the
--lib
switch to make libraries. The correct way now is to use the#[crate_type = "lib"]
crate attribute (I think).The text was updated successfully, but these errors were encountered: