Skip to content

Move use rand::RngExt to test routines to avoid unused import#64

Merged
Nugine merged 1 commit intoNugine:mainfrom
musicinmybrain:rng-ext-lint
Mar 5, 2026
Merged

Move use rand::RngExt to test routines to avoid unused import#64
Nugine merged 1 commit intoNugine:mainfrom
musicinmybrain:rng-ext-lint

Conversation

@musicinmybrain
Copy link
Copy Markdown
Contributor

Thank you for reviewing #63 and for following up with two additional commits! Looking at the result, it occurred to me that it could be slightly nicer to move use rand::RngExt inside the test functions that use it. Then it would be subject to the same conditional compilation as the test code, and it wouldn’t be necessary to add #[allow(unused_imports)].

@Nugine Nugine merged commit 0d8b754 into Nugine:main Mar 5, 2026
9 checks passed
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