Skip to content

Conversation

@tarcieri
Copy link
Member

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

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 tarcieri merged commit 09dfa0b into master Dec 11, 2022
@tarcieri tarcieri deleted the der/rename-uintref branch December 11, 2022 14:48
@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.

2 participants