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/attention.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/construct/attention.rs') diff --git a/src/construct/attention.rs b/src/construct/attention.rs index 21407b7..8df0f61 100644 --- a/src/construct/attention.rs +++ b/src/construct/attention.rs @@ -64,6 +64,7 @@ use crate::state::{Name as StateName, State}; use crate::tokenizer::Tokenizer; use crate::unicode::PUNCTUATION; use crate::util::slice::Slice; +use alloc::{string::String, vec, vec::Vec}; /// Character code kinds. #[derive(Debug, PartialEq)] -- cgit