Fix no_std tests
This commit is contained in:
parent
b2fb02c7ad
commit
9bbf9e5c23
1 changed files with 4 additions and 1 deletions
|
|
@ -1,7 +1,10 @@
|
|||
// SPDX-License-Identifier: MIT OR Apache-2.0
|
||||
|
||||
#[cfg(not(feature = "std"))]
|
||||
use alloc::string::{String, ToString};
|
||||
use alloc::{
|
||||
string::{String, ToString},
|
||||
vec::Vec,
|
||||
};
|
||||
use core::{cmp, iter::once};
|
||||
use unicode_segmentation::UnicodeSegmentation;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue