Skip to content

Commit

Permalink
Improved some imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Razican committed Feb 27, 2022
1 parent 4584be7 commit 68a06cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions boa_engine/src/bigint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
use crate::{builtins::Number, Context, JsValue};
use boa_gc::{unsafe_empty_trace, Finalize, Trace};
use num_integer::Integer;
use num_traits::pow::Pow;
use num_traits::{FromPrimitive, One, ToPrimitive, Zero};
use std::rc::Rc;
use num_traits::{pow::Pow, FromPrimitive, One, ToPrimitive, Zero};
use std::{
fmt::{self, Display},
ops::{Add, BitAnd, BitOr, BitXor, Div, Mul, Neg, Rem, Shl, Shr, Sub},
rc::Rc,
};

/// The raw bigint type.
Expand Down
7 changes: 3 additions & 4 deletions boa_engine/src/syntax/lexer/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
//!
//! [spec]: https://tc39.es/ecma262/#sec-tokens

use crate::{
syntax::ast::{Keyword, Punctuator, Span},
syntax::lexer::template::TemplateString,
use crate::syntax::{
ast::{Keyword, Punctuator, Span},
lexer::template::TemplateString,
};
use boa_interner::{Interner, Sym};

use num_bigint::BigInt;
#[cfg(feature = "deser")]
use serde::{Deserialize, Serialize};
Expand Down

0 comments on commit 68a06cf

Please sign in to comment.