diff options
author | Martin Fischer <martin@push-f.com> | 2021-11-28 08:50:05 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-11-29 15:10:59 +0100 |
commit | d5ef05694f5ed4bbba164d0c9ee15106b134a358 (patch) | |
tree | e076063126519cdcce24dc591c31d690e77d849f /src/util | |
parent | 6220082e9b03151f14f274a7458e79c8d6e1ad3e (diff) |
stop exporting buffer_queue::SetResult
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)) => { |