@@ -8,9 +8,9 @@ macro_rules! modulus {
8
8
const VALUE : u32 = $name as _;
9
9
const HINT_VALUE_IS_PRIME : bool = true ;
10
10
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 >>>> {
12
12
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 ( ) ;
14
14
}
15
15
& BUTTERFLY_CACHE
16
16
}
@@ -21,7 +21,7 @@ macro_rules! modulus {
21
21
22
22
use super :: {
23
23
internal_bit, internal_math,
24
- modint:: { ButterflyCache , Modulus , RemEuclidU32 , StaticModInt } ,
24
+ modint:: { self , ButterflyCache , Modulus , RemEuclidU32 , StaticModInt } ,
25
25
} ;
26
26
use std:: {
27
27
cmp,
@@ -232,7 +232,7 @@ fn prepare<M: Modulus>() -> ButterflyCache<M> {
232
232
233
233
#[ cfg( test) ]
234
234
mod tests {
235
- use super :: super :: modint:: { Mod998244353 , Modulus , RemEuclidU32 , StaticModInt } ;
235
+ use super :: super :: modint:: { self , Mod998244353 , Modulus , RemEuclidU32 , StaticModInt } ;
236
236
use rand:: { rngs:: ThreadRng , Rng as _} ;
237
237
use std:: {
238
238
convert:: { TryFrom , TryInto as _} ,
0 commit comments