use alloc::vec instead of std::vec
This commit is contained in:
parent
053efa77b6
commit
5ab509ebaa
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ use unicode_bidi::{bidi_class, BidiClass, BidiInfo, ParagraphInfo};
|
||||||
/// It is equivalent to [`core::str::Lines`] but follows `unicode-bidi` behaviour.
|
/// It is equivalent to [`core::str::Lines`] but follows `unicode-bidi` behaviour.
|
||||||
pub struct BidiParagraphs<'text> {
|
pub struct BidiParagraphs<'text> {
|
||||||
text: &'text str,
|
text: &'text str,
|
||||||
info: std::vec::IntoIter<ParagraphInfo>,
|
info: alloc::vec::IntoIter<ParagraphInfo>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'text> BidiParagraphs<'text> {
|
impl<'text> BidiParagraphs<'text> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue