Skip to content

Commit 1f1d744

Browse files
committed
box imports
1 parent 3a74fc0 commit 1f1d744

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ use crate::{
3939
diagnostic::{diagnostic_url, Diagnostic, Label},
4040
Token,
4141
};
42-
use alloc::string::String;
42+
use alloc::{boxed::Box, string::String};
4343
use core::{fmt, iter::once, num::ParseIntError, str::FromStr};
4444

4545
/// Represents an abstract index into an array.

src/token.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use crate::{
66
};
77
use alloc::{
88
borrow::Cow,
9+
boxed::Box,
910
fmt,
1011
string::{String, ToString},
1112
vec::Vec,

0 commit comments

Comments
 (0)