Fixed imports num-rug-adapter

This commit is contained in:
Ross Smyth
2022-07-17 02:06:37 -04:00
parent 607c84a79b
commit 577f85099d
5 changed files with 7 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ use std::ops::Neg;
use std::rc::Rc;
use std::vec::Vec;
use rug::{Integer, Rational};
use crate::parser::rug::{Integer, Rational};
use fxhash::FxBuildHasher;
use indexmap::IndexMap;

View File

@@ -1,5 +1,6 @@
#[cfg(feature = "num-rug-adapter")]
use num_rug_adapter as rug;
pub use num_rug_adapter as rug;
#[cfg(feature = "rug")]
pub use rug;

View File

@@ -4,7 +4,7 @@ use crate::parser::ast::*;
use crate::parser::char_reader::*;
use crate::parser::lexer::*;
use rug::ops::NegAssign;
use crate::parser::rug::ops::NegAssign;
use std::cell::Cell;
use std::mem;