Skip to content

usize::to_u32 for compiler internal conversion#4606

Merged
youknowone merged 2 commits intoRustPython:mainfrom
youknowone:to-u32
Mar 2, 2023
Merged

usize::to_u32 for compiler internal conversion#4606
youknowone merged 2 commits intoRustPython:mainfrom
youknowone:to-u32

Conversation

@youknowone
Copy link
Member

No description provided.

@youknowone youknowone requested a review from coolreader18 March 2, 2023 04:13
Copy link
Member

@coolreader18 coolreader18 left a comment

Choose a reason for hiding this comment

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

You could stick a #![deny(clippy::cast_possible_truncation)] to fully enforce it

@youknowone youknowone merged commit 7838220 into RustPython:main Mar 2, 2023
@youknowone youknowone deleted the to-u32 branch March 2, 2023 06:02
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