Skip to content

docs: document that '*', 'x', and 'X' are valid wildcards in version requirements (#322) - #352

Open
CyberneticX-Tech wants to merge 1 commit into
dtolnay:masterfrom
CyberneticX-Tech:docs/wildcard-characters
Open

CyberneticX-Tech wants to merge 1 commit into
dtolnay:masterfrom
CyberneticX-Tech:docs/wildcard-characters

Conversation

@CyberneticX-Tech

Copy link
Copy Markdown

Resolves #322.

The parser and testsuite in tests/test_version_req.rs support *, x, and X interchangeably as wildcards, following Cargo's convention. This updates the Op::Wildcard rustdoc comments in src/lib.rs to document x and X alongside *.

…requirements (dtolnay#322)

Document in Op::Wildcard rustdoc comments that 'x' and 'X' are interchangeable
with '*' as wildcards for version requirements (e.g. '1.x', '1.X', '1.2.x').

This branch has not been deployed

No deployments
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 this pull request may close these issues.

Docs: Missing documentation that ['*', 'x', 'X'] can all be wildcards

1 participant