matches: remove pub from some items

There is no reason for these to be `pub`. They aren't used anywhere
else.
This commit is contained in:
Michael Wright 2021-11-09 05:44:02 +02:00
parent 81fa758356
commit 8b7691551a

View file

@ -1643,7 +1643,7 @@ pub enum EndBound<T> {
}
#[derive(Debug, Eq, PartialEq)]
pub struct SpannedRange<T> {
struct SpannedRange<T> {
pub span: Span,
pub node: (T, EndBound<T>),
}
@ -1694,7 +1694,7 @@ where
ref_count > 1
}
pub fn overlapping<T>(ranges: &[SpannedRange<T>]) -> Option<(&SpannedRange<T>, &SpannedRange<T>)>
fn overlapping<T>(ranges: &[SpannedRange<T>]) -> Option<(&SpannedRange<T>, &SpannedRange<T>)>
where
T: Copy + Ord,
{