Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chapter 14.3 "Cargo Workspaces" is misleading about the "cargo new" command and the relationship between workspaces and crates #2287

Closed
sify21 opened this issue Mar 13, 2020 · 0 comments · Fixed by #2373

Comments

@sify21
Copy link

sify21 commented Mar 13, 2020

In chapter 14.3, It's been said at the beginning that "A workspace is a set of packages".

However, following example says "we’ll create the adder binary crate by running cargo new", which is wrong because we're actually creating a package named adder containing one crate.

Similarly, the title "Creating the Second Crate in the Workspace" is better to be renamed "Creating the Second Package in the Workspace", because you create crates in package.

Although it's not a big deal, readers may have a wrong understanding about workspace, package, and crate.

@sify21 sify21 changed the title chapter 14.3 "Cargo Workspaces" is misleading about the "cargo new" command and the relationship of workspaces and crates chapter 14.3 "Cargo Workspaces" is misleading about the "cargo new" command and the relationship between workspaces and crates Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant