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

Example and specifications do not match in cargo documentation #11955

Closed
jthulhu opened this issue Apr 10, 2023 · 1 comment · Fixed by #11956
Closed

Example and specifications do not match in cargo documentation #11955

jthulhu opened this issue Apr 10, 2023 · 1 comment · Fixed by #11956

Comments

@jthulhu
Copy link

jthulhu commented Apr 10, 2023

In the paragraph description of the cargo pkgid subcommand documentation, in the table that specifies the allowed formats, there is a mismatch between the format url#name:version and its example, https://github.com/rust-lang/cargo#[email protected]: the format requires a : to separate the name from the version, but the example uses @ (which is consistent with the rest of the specification).

@epage
Copy link
Contributor

epage commented Apr 10, 2023

Both are actually supported but we have shifted the focus to @ and it looks like that only got partially updated

bors added a commit that referenced this issue Apr 10, 2023
docs(pkgid): Consistently use @

Fixes #11955
@bors bors closed this as completed in b0eb0a8 Apr 10, 2023
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.

2 participants