diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1,7 +1,6 @@ | |||
1 | mod utils; | 1 | mod utils; |
2 | 2 | ||
3 | use js_sys::Array; | 3 | use js_sys::Array; |
4 | |||
5 | use syntax::{ | 4 | use syntax::{ |
6 | ast::{self, AstNode}, | 5 | ast::{self, AstNode}, |
7 | NodeOrToken, SourceFile, SyntaxElement, SyntaxError, SyntaxNode, | 6 | NodeOrToken, SourceFile, SyntaxElement, SyntaxError, SyntaxNode, |
@@ -10,8 +9,6 @@ use wasm_bindgen::prelude::*; | |||
10 | 9 | ||
11 | use std::{convert::From, str::FromStr}; | 10 | use std::{convert::From, str::FromStr}; |
12 | 11 | ||
13 | // When the `wee_alloc` feature is enabled, use `wee_alloc` as the global | ||
14 | // allocator. | ||
15 | #[cfg(feature = "wee_alloc")] | 12 | #[cfg(feature = "wee_alloc")] |
16 | #[global_allocator] | 13 | #[global_allocator] |
17 | static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; | 14 | static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; |