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

Add a doc alias policy #25

Merged
merged 5 commits into from
Jul 7, 2021

Conversation

joshtriplett
Copy link
Member

Based on discussion in 2021-06-30 libs meeting.

Based on discussion in 2021-06-30 libs meeting.
Copy link
Member

@yoshuawuyts yoshuawuyts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

JohnTitor added a commit to JohnTitor/rust that referenced this pull request Jul 5, 2021
…riplett

Remove some doc aliases

As per the new doc alias policy in rust-lang/std-dev-guide#25, this removes some controversial doc aliases:
- `malloc`, `alloc`, `realloc`, etc.
- `length` (alias for `len`)
- `delete` (alias for `remove` in collections and also file/directory deletion)

r? `@joshtriplett`
src/documentation/doc-alias-policy.md Outdated Show resolved Hide resolved
joshtriplett and others added 2 commits July 7, 2021 11:21
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
@joshtriplett joshtriplett merged commit 5a93e16 into rust-lang:master Jul 7, 2021
@joshtriplett joshtriplett deleted the doc-alias-policy branch July 7, 2021 18:23
github-actions bot pushed a commit that referenced this pull request Jul 7, 2021
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.

4 participants