From 1d01a693f94a178edafc99a0708f471f3a749e83 Mon Sep 17 00:00:00 2001 From: k88hudson-cfa Date: Mon, 19 Aug 2024 19:05:35 -0400 Subject: [PATCH] Remove Any --- src/random.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/random.rs b/src/random.rs index a584476a..9e8a3c20 100644 --- a/src/random.rs +++ b/src/random.rs @@ -23,7 +23,7 @@ macro_rules! define_rng { } pub use define_rng; -pub trait RngId: Any { +pub trait RngId { type RngType: SeedableRng; fn get_name() -> &'static str; } @@ -57,7 +57,7 @@ crate::context::define_data_plugin!( pub trait ContextRandomExt { fn init_random(&mut self, base_seed: u64); - fn get_rng(&self) -> RefMut; + fn get_rng(&self) -> RefMut; } impl ContextRandomExt for Context {