Skip to content

Make type explicit#217

Merged
ascjones merged 1 commit intoparitytech:masterfrom
c410-f3r:extra
Jan 14, 2021
Merged

Make type explicit#217
ascjones merged 1 commit intoparitytech:masterfrom
c410-f3r:extra

Conversation

@c410-f3r
Copy link
Contributor

Newer compiler releases require this statement

@h4x3rotab
Copy link
Contributor

LGTM

Copy link
Contributor

@niklasad1 niklasad1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, because Index implements AtLeast32Bit so this is fine. Personally, I prefer One::one() over 1_u32 but.... doesn't matter.

@ascjones ascjones merged commit c2cc7af into paritytech:master Jan 14, 2021
@ascjones ascjones mentioned this pull request Feb 5, 2021
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.

4 participants