diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/buffer_queue.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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)) => { |