aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/partial_whitespace.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-16 17:42:37 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-16 17:42:37 +0200
commit9e157f453ae674a9f86601142fde91b85485883a (patch)
tree9ffa787646f5026a2c7d28dc5b1b2246545ae000 /src/construct/partial_whitespace.rs
parentfc0f0f9f15574b4f80bda8249c0763d5865cb8b2 (diff)
downloadmarkdown-rs-9e157f453ae674a9f86601142fde91b85485883a.tar.gz
markdown-rs-9e157f453ae674a9f86601142fde91b85485883a.tar.bz2
markdown-rs-9e157f453ae674a9f86601142fde91b85485883a.zip
Add `no_std + alloc`
Diffstat (limited to 'src/construct/partial_whitespace.rs')
-rw-r--r--src/construct/partial_whitespace.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/construct/partial_whitespace.rs b/src/construct/partial_whitespace.rs
index faaff73..707107d 100644
--- a/src/construct/partial_whitespace.rs
+++ b/src/construct/partial_whitespace.rs
@@ -61,6 +61,7 @@ use crate::constant::HARD_BREAK_PREFIX_SIZE_MIN;
use crate::event::{Event, Kind, Name};
use crate::tokenizer::Tokenizer;
use crate::util::slice::{Position, Slice};
+use alloc::vec;
/// Resolve whitespace.
pub fn resolve_whitespace(tokenizer: &mut Tokenizer, hard_break: bool, trim_whole: bool) {