diff --git a/src/riot-rs-random/src/lib.rs b/src/riot-rs-random/src/lib.rs index aa72705c7..6338d0304 100644 --- a/src/riot-rs-random/src/lib.rs +++ b/src/riot-rs-random/src/lib.rs @@ -78,7 +78,7 @@ impl RngCore for Rng { #[cfg(feature = "main-is-csprng")] mod main_is_csprng { - impl rand_core::CryptoRng for Rng {} + impl rand_core::CryptoRng for super::Rng {} fn generate_inner_type() -> super::SelectedRng { panic!("This function only serves type checking purposes")