aboutsummaryrefslogtreecommitdiff
path: root/src/util/buffer_queue.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-28 08:50:05 +0100
committerMartin Fischer <martin@push-f.com>2021-11-29 15:10:59 +0100
commitd5ef05694f5ed4bbba164d0c9ee15106b134a358 (patch)
treee076063126519cdcce24dc591c31d690e77d849f /src/util/buffer_queue.rs
parent6220082e9b03151f14f274a7458e79c8d6e1ad3e (diff)
stop exporting buffer_queue::SetResult
Diffstat (limited to 'src/util/buffer_queue.rs')
-rw-r--r--src/util/buffer_queue.rs2
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)) => {