@@ -274,25 +274,26 @@ macro_rules! forward_assign_primitive_into {
274274macro_rules! forward_pow_primitive {
275275 ( $lhs: ty, $rhs: ty) => {
276276 impl_binary_op!( $lhs, $rhs, $lhs, Pow , pow, |lhs: $lhs, rhs: $rhs| {
277- <_ as malachite:: num:: arithmetic:: traits:: Pow <u64 >>:: pow( lhs. 0 , rhs as _) . into( )
277+ <_ as malachite:: base :: num:: arithmetic:: traits:: Pow <u64 >>:: pow( lhs. 0 , rhs as _) . into( )
278278 } ) ;
279279 impl_binary_op!( & $lhs, $rhs, $lhs, Pow , pow, |lhs: & $lhs, rhs: $rhs| {
280- <_ as malachite:: num:: arithmetic:: traits:: Pow <u64 >>:: pow( & lhs. 0 , rhs as _) . into( )
280+ <_ as malachite:: base :: num:: arithmetic:: traits:: Pow <u64 >>:: pow( & lhs. 0 , rhs as _) . into( )
281281 } ) ;
282282 impl_binary_op!( $lhs, & $rhs, $lhs, Pow , pow, |lhs: $lhs, rhs: & $rhs| {
283- <_ as malachite:: num:: arithmetic:: traits:: Pow <u64 >>:: pow( lhs. 0 , * rhs as _) . into( )
283+ <_ as malachite:: base :: num:: arithmetic:: traits:: Pow <u64 >>:: pow( lhs. 0 , * rhs as _) . into( )
284284 } ) ;
285285 impl_binary_op!( & $lhs, & $rhs, $lhs, Pow , pow, |lhs: & $lhs, rhs: & $rhs| {
286- <_ as malachite:: num:: arithmetic:: traits:: Pow <u64 >>:: pow( & lhs. 0 , * rhs as _) . into( )
286+ <_ as malachite:: base :: num:: arithmetic:: traits:: Pow <u64 >>:: pow( & lhs. 0 , * rhs as _) . into( )
287287 } ) ;
288288 } ;
289289}
290290
291291macro_rules! forward_pow_biguint {
292292 ( $lhs: ty) => {
293293 impl_binary_op!( $lhs, BigUint , $lhs, Pow , pow, |lhs: $lhs, rhs: BigUint | {
294- let exp = malachite:: num:: conversion:: traits:: SaturatingFrom :: saturating_from( & rhs. 0 ) ;
295- <_ as malachite:: num:: arithmetic:: traits:: Pow <u64 >>:: pow( lhs. 0 , exp) . into( )
294+ let exp =
295+ malachite:: base:: num:: conversion:: traits:: SaturatingFrom :: saturating_from( & rhs. 0 ) ;
296+ <_ as malachite:: base:: num:: arithmetic:: traits:: Pow <u64 >>:: pow( lhs. 0 , exp) . into( )
296297 } ) ;
297298 impl_binary_op!(
298299 & $lhs,
@@ -301,9 +302,10 @@ macro_rules! forward_pow_biguint {
301302 Pow ,
302303 pow,
303304 |lhs: & $lhs, rhs: BigUint | {
304- let exp =
305- malachite:: num:: conversion:: traits:: SaturatingFrom :: saturating_from( & rhs. 0 ) ;
306- <_ as malachite:: num:: arithmetic:: traits:: Pow <u64 >>:: pow( & lhs. 0 , exp) . into( )
305+ let exp = malachite:: base:: num:: conversion:: traits:: SaturatingFrom :: saturating_from(
306+ & rhs. 0 ,
307+ ) ;
308+ <_ as malachite:: base:: num:: arithmetic:: traits:: Pow <u64 >>:: pow( & lhs. 0 , exp) . into( )
307309 }
308310 ) ;
309311 impl_binary_op!(
@@ -313,9 +315,10 @@ macro_rules! forward_pow_biguint {
313315 Pow ,
314316 pow,
315317 |lhs: $lhs, rhs: & BigUint | {
316- let exp =
317- malachite:: num:: conversion:: traits:: SaturatingFrom :: saturating_from( & rhs. 0 ) ;
318- <_ as malachite:: num:: arithmetic:: traits:: Pow <u64 >>:: pow( lhs. 0 , exp) . into( )
318+ let exp = malachite:: base:: num:: conversion:: traits:: SaturatingFrom :: saturating_from(
319+ & rhs. 0 ,
320+ ) ;
321+ <_ as malachite:: base:: num:: arithmetic:: traits:: Pow <u64 >>:: pow( lhs. 0 , exp) . into( )
319322 }
320323 ) ;
321324 impl_binary_op!(
@@ -325,9 +328,10 @@ macro_rules! forward_pow_biguint {
325328 Pow ,
326329 pow,
327330 |lhs: & $lhs, rhs: & BigUint | {
328- let exp =
329- malachite:: num:: conversion:: traits:: SaturatingFrom :: saturating_from( & rhs. 0 ) ;
330- <_ as malachite:: num:: arithmetic:: traits:: Pow <u64 >>:: pow( & lhs. 0 , exp) . into( )
331+ let exp = malachite:: base:: num:: conversion:: traits:: SaturatingFrom :: saturating_from(
332+ & rhs. 0 ,
333+ ) ;
334+ <_ as malachite:: base:: num:: arithmetic:: traits:: Pow <u64 >>:: pow( & lhs. 0 , exp) . into( )
331335 }
332336 ) ;
333337 } ;
0 commit comments