mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 14:38:46 +00:00
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:
parent
81fa758356
commit
8b7691551a
1 changed files with 2 additions and 2 deletions
|
@ -1643,7 +1643,7 @@ pub enum EndBound<T> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Eq, PartialEq)]
|
#[derive(Debug, Eq, PartialEq)]
|
||||||
pub struct SpannedRange<T> {
|
struct SpannedRange<T> {
|
||||||
pub span: Span,
|
pub span: Span,
|
||||||
pub node: (T, EndBound<T>),
|
pub node: (T, EndBound<T>),
|
||||||
}
|
}
|
||||||
|
@ -1694,7 +1694,7 @@ where
|
||||||
ref_count > 1
|
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
|
where
|
||||||
T: Copy + Ord,
|
T: Copy + Ord,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue