@@ -8,9 +8,9 @@ macro_rules! modulus {
88 const VALUE : u32 = $name as _;
99 const HINT_VALUE_IS_PRIME : bool = true ;
1010
11- fn butterfly_cache( ) -> & ' static :: std:: thread:: LocalKey <:: std:: cell:: RefCell <:: std:: option:: Option <$crate :: modint:: ButterflyCache <Self >>>> {
11+ fn butterfly_cache( ) -> & ' static :: std:: thread:: LocalKey <:: std:: cell:: RefCell <:: std:: option:: Option <self :: modint:: ButterflyCache <Self >>>> {
1212 thread_local! {
13- static BUTTERFLY_CACHE : :: std:: cell:: RefCell <:: std:: option:: Option <$crate :: modint:: ButterflyCache <$name>>> = :: std:: default :: Default :: default ( ) ;
13+ static BUTTERFLY_CACHE : :: std:: cell:: RefCell <:: std:: option:: Option <self :: modint:: ButterflyCache <$name>>> = :: std:: default :: Default :: default ( ) ;
1414 }
1515 & BUTTERFLY_CACHE
1616 }
@@ -21,7 +21,7 @@ macro_rules! modulus {
2121
2222use super :: {
2323 internal_bit, internal_math,
24- modint:: { ButterflyCache , Modulus , RemEuclidU32 , StaticModInt } ,
24+ modint:: { self , ButterflyCache , Modulus , RemEuclidU32 , StaticModInt } ,
2525} ;
2626use std:: {
2727 cmp,
@@ -232,7 +232,7 @@ fn prepare<M: Modulus>() -> ButterflyCache<M> {
232232
233233#[ cfg( test) ]
234234mod tests {
235- use super :: super :: modint:: { Mod998244353 , Modulus , RemEuclidU32 , StaticModInt } ;
235+ use super :: super :: modint:: { self , Mod998244353 , Modulus , RemEuclidU32 , StaticModInt } ;
236236 use rand:: { rngs:: ThreadRng , Rng as _} ;
237237 use std:: {
238238 convert:: { TryFrom , TryInto as _} ,
0 commit comments