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

Standardize on usage of abbreviations #224

Closed
6 of 12 tasks
dtolnay opened this issue Nov 10, 2017 · 1 comment
Closed
6 of 12 tasks

Standardize on usage of abbreviations #224

dtolnay opened this issue Nov 10, 2017 · 1 comment
Assignees
Milestone

Comments

@dtolnay
Copy link
Owner

dtolnay commented Nov 10, 2017

For example right now there is Item::Mac but TraitItem::Macro.

What abbreviations do we use? Let's pick one version of each and be consistent. I am okay with choosing independently for each abbreviation, does not have to be all abbreviated or all spelled out.

    • Mac
    • Macro
    • Ty
    • Type
    • Tup
    • Tuple
    • Fn
    • Function
    • Mod
    • Module
    • Const
    • Constant
@dtolnay
Copy link
Owner Author

dtolnay commented Nov 10, 2017

Where applicable, I would abbreviate only the things that Rust source code abbreviates. For example Rust uses fn and mod and const, but spells out type and macro.

@dtolnay dtolnay mentioned this issue Nov 12, 2017
@dtolnay dtolnay self-assigned this Dec 28, 2017
@dtolnay dtolnay added this to the 0.12 milestone Dec 28, 2017
@dtolnay dtolnay closed this as completed Dec 29, 2017
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

No branches or pull requests

1 participant