We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pub
1 parent 81fa758 commit 8b76915Copy full SHA for 8b76915
clippy_lints/src/matches.rs
@@ -1643,7 +1643,7 @@ pub enum EndBound<T> {
1643
}
1644
1645
#[derive(Debug, Eq, PartialEq)]
1646
-pub struct SpannedRange<T> {
+struct SpannedRange<T> {
1647
pub span: Span,
1648
pub node: (T, EndBound<T>),
1649
@@ -1694,7 +1694,7 @@ where
1694
ref_count > 1
1695
1696
1697
-pub fn overlapping<T>(ranges: &[SpannedRange<T>]) -> Option<(&SpannedRange<T>, &SpannedRange<T>)>
+fn overlapping<T>(ranges: &[SpannedRange<T>]) -> Option<(&SpannedRange<T>, &SpannedRange<T>)>
1698
where
1699
T: Copy + Ord,
1700
{
0 commit comments