We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fa8b22 commit b33335cCopy full SHA for b33335c
src/lib.rs
@@ -1,4 +1,5 @@
1
#![allow(clippy::unreadable_literal, clippy::upper_case_acronyms)]
2
+#![no_std]
3
4
//! An MT19937 Mersenne Twister rng implementation, with the goal of being
5
//! compatible with CPython's `_random` module.
@@ -80,8 +81,8 @@ impl Default for MT19937 {
80
81
MT19937_DEFAULT
82
}
83
-impl std::fmt::Debug for MT19937 {
84
- fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
+impl core::fmt::Debug for MT19937 {
85
+ fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
86
f.pad("MT19937")
87
88
0 commit comments