Skip to content

Conversation

ComputerDruid
Copy link
Contributor

Summary

Minor simplification

Motivation

Makes things cleaner; probably makes code completion in editors know what's actually in code

Details

I tested this with 1.61 locally and it seems to work fine. I wasn't able to quickly figure out which rust version stabilized using core from anywhere though. Probably sometime around 2018 edition, I'd guess

Copy link
Member

@dhardy dhardy left a comment

Choose a reason for hiding this comment

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

Well, alloc was stabilised in 1.36.0. I don't recall, but old enough that we don't need to worry (these use statements appear in c9f4e2b).

@dhardy dhardy merged commit 4807e26 into rust-random:master Nov 22, 2024
15 checks passed
@ComputerDruid ComputerDruid deleted the use_core branch November 22, 2024 19:54
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