summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tokenizer/mod.rs3
-rw-r--r--src/util/buffer_queue.rs2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/tokenizer/mod.rs b/src/tokenizer/mod.rs
index b5d878b..23385d7 100644
--- a/src/tokenizer/mod.rs
+++ b/src/tokenizer/mod.rs
@@ -28,7 +28,8 @@ use std::collections::BTreeMap;
use std::default::Default;
use std::mem::replace;
-pub use crate::util::buffer_queue::{BufferQueue, FromSet, NotFromSet, SetResult};
+pub use crate::util::buffer_queue::BufferQueue;
+use crate::util::buffer_queue::{FromSet, NotFromSet, SetResult};
pub use states::RawKind;
mod char_ref;
diff --git a/src/util/buffer_queue.rs b/src/util/buffer_queue.rs
index b741b36..8704ba5 100644
--- a/src/util/buffer_queue.rs
+++ b/src/util/buffer_queue.rs
@@ -128,7 +128,7 @@ impl BufferQueue {
/// Pops and returns either a single character from the given set, or
/// a buffer of characters none of which are in the set.
- pub fn pop_except_from(&mut self, set: SmallCharSet) -> Option<SetResult> {
+ pub(crate) fn pop_except_from(&mut self, set: SmallCharSet) -> Option<SetResult> {
let (result, now_empty) = match self.buffers.front_mut() {
None => (None, false),
Some((i, buf)) => {