Skip to content

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
scv35 added a commit to scv35/format-encoders-decoders that referenced this pull request Jul 4, 2025
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
ghost-knightx56yui added a commit to ghost-knightx56yui/formats that referenced this pull request Nov 13, 2025
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
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.

2 participants