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

Rename UInt => Uint #143

Merged
merged 1 commit into from
Dec 9, 2022
Merged

Rename UInt => Uint #143

merged 1 commit into from
Dec 9, 2022

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Dec 9, 2022

From https://rust-lang.github.io/api-guidelines/naming.html

In UpperCamelCase, acronyms and contractions of compound words count
as one word: use Uuid rather than UUID, Usize rather than USize or
Stdin rather than StdIn.

Based on the Usize example, it's pretty clear we should be using Uint rather than UInt.

This is also consistent with num-bigint.

From https://rust-lang.github.io/api-guidelines/naming.html

> In UpperCamelCase, acronyms and contractions of compound words count
> as one word: use Uuid rather than UUID, Usize rather than USize or
> Stdin rather than StdIn.

Based on the `Usize` example, it's pretty clear we should be using
`Uint` rather than `UInt`.

This is also consistent with `num-bigint`.
@tarcieri tarcieri merged commit 65ab1e6 into master Dec 9, 2022
@tarcieri tarcieri deleted the rename-uint branch December 9, 2022 02:12
tarcieri added a commit to RustCrypto/formats that referenced this pull request Dec 11, 2022
From https://rust-lang.github.io/api-guidelines/naming.html

> In UpperCamelCase, acronyms and contractions of compound words count
> as one word: use Uuid rather than UUID, Usize rather than USize or
> Stdin rather than StdIn.

Based on the `Usize` example, it's pretty clear we should be using
`Uint` rather than `UInt`.

This is also consistent with `num-bigint` and `crypto-bigint` as of
RustCrypto/crypto-bigint#143
tarcieri added a commit to RustCrypto/formats that referenced this pull request Dec 11, 2022
From https://rust-lang.github.io/api-guidelines/naming.html

> In UpperCamelCase, acronyms and contractions of compound words count
> as one word: use Uuid rather than UUID, Usize rather than USize or
> Stdin rather than StdIn.

Based on the `Usize` example, it's pretty clear we should be using
`Uint` rather than `UInt`.

This is also consistent with `num-bigint` and `crypto-bigint` as of
RustCrypto/crypto-bigint#143
tarcieri added a commit to RustCrypto/traits that referenced this pull request Jan 14, 2023
From https://rust-lang.github.io/api-guidelines/naming.html

> In UpperCamelCase, acronyms and contractions of compound words count
> as one word: use Uuid rather than UUID, Usize rather than USize or
> Stdin rather than StdIn.

Based on the `Usize` example, it's pretty clear we should be using
`Uint` rather than `UInt`.

This is also consistent with `crypto-bigint`:

RustCrypto/crypto-bigint#143
tarcieri added a commit to RustCrypto/traits that referenced this pull request Jan 14, 2023
From https://rust-lang.github.io/api-guidelines/naming.html

> In UpperCamelCase, acronyms and contractions of compound words count
> as one word: use Uuid rather than UUID, Usize rather than USize or
> Stdin rather than StdIn.

Based on the `Usize` example, it's pretty clear we should be using
`Uint` rather than `UInt`.

This is also consistent with `crypto-bigint`:

RustCrypto/crypto-bigint#143
@tarcieri tarcieri mentioned this pull request Feb 27, 2023
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.

1 participant