From 9e157f453ae674a9f86601142fde91b85485883a Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 16 Aug 2022 17:42:37 +0200 Subject: Add `no_std + alloc` --- src/construct/partial_whitespace.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/construct/partial_whitespace.rs') 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) { -- cgit