Skip to content

Commit

Permalink
Merge pull request #1292 from VJean/patch-1
Browse files Browse the repository at this point in the history
crates: fix suggested value for --crate-type flag
  • Loading branch information
marioidival committed Nov 14, 2019
2 parents dcee312 + fba7a49 commit 4835e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crates.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ individually, only crates get compiled.

A crate can be compiled into a binary or into a library. By default, `rustc`
will produce a binary from a crate. This behavior can be overridden by passing
the `--crate-type` flag to `rustc`.
the `--crate-type` flag to `lib`.

0 comments on commit 4835e02

Please sign in to comment.