Skip to content

Add a doc alias policy - #25

Merged
joshtriplett merged 5 commits into
rust-lang:masterfrom
joshtriplett:doc-alias-policy
Jul 7, 2021
Merged

Add a doc alias policy#25
joshtriplett merged 5 commits into
rust-lang:masterfrom
joshtriplett:doc-alias-policy

Conversation

@joshtriplett

Copy link
Copy Markdown
Member

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

Based on discussion in 2021-06-30 libs meeting.
Comment threadsrc/documentation/doc-alias-policy.md

@yoshuawuytsyoshuawuyts left a comment

Copy link
Copy Markdown
Member

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`
Comment threadsrc/documentation/doc-alias-policy.md Outdated
joshtriplettand 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:masterJul 7, 2021
@joshtriplett
joshtriplett deleted the doc-alias-policy branch July 7, 2021 18:23
github-actionsBot pushed a commit that referenced this pull request Jul 7, 2021
Sign up for freeto 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

@joshtriplett@m-ou-se@yaahc@yoshuawuyts