mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +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)]
|
||||
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,
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue