Skip to content

Commit c317547

Browse files
Fixed no-std error
1 parent 535870b commit c317547

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/ast/ddl.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@
1919
//! (commonly referred to as Data Definition Language, or DDL)
2020
2121
#[cfg(not(feature = "std"))]
22-
use alloc::{boxed::Box, format, string::String, vec, vec::Vec};
22+
use alloc::{
23+
boxed::Box,
24+
format,
25+
string::{String, ToString},
26+
vec,
27+
vec::Vec,
28+
};
2329
use core::fmt::{self, Display, Write};
2430

2531
#[cfg(feature = "serde")]

0 commit comments

Comments
 (0)