Skip to content

Commit bd94932

Browse files
committed
Make DiagnosticWrapper private
It's doesn't have to be public anywhere outside of clippy_lints
1 parent e99611b commit bd94932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/utils/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use syntax::errors::DiagnosticBuilder;
88
use syntax::source_map::Span;
99

1010
/// Wrapper around `DiagnosticBuilder` that adds a link to Clippy documentation for the emitted lint
11-
pub struct DiagnosticWrapper<'a>(pub DiagnosticBuilder<'a>);
11+
struct DiagnosticWrapper<'a>(DiagnosticBuilder<'a>);
1212

1313
impl<'a> Drop for DiagnosticWrapper<'a> {
1414
fn drop(&mut self) {

0 commit comments

Comments
 (0)