- Notifications
You must be signed in to change notification settings - Fork338
Improve documentation of slicing methods.#989
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
jturner314 commentedApr 30, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Thanks for suggesting improvements to the docs. It's somewhat awkward to reference a few other slicing methods without listing all of the potentially relevant ones. However, I don't think we should list all of them, since there are a lot of slicing methods, and they're all mentioned in theSlicing docs already. What I'd suggest is to address the question in#988 more directly, i.e. add something like the following to the docs for
and add the following to the docs for
We could also add analogous comments to the docs of One other note: the markup of the links in this PR isn't quite right. A link should be formatted like this:
or like this:
Note also that as of Rust 1.48.0, it's possible touse the Rust path of an in-scope item as a "URL", and as of Rust 1.51.0, this works for associated items too, such as writing |
No description provided.