Skip to content

Commit 1233b39

Browse files
committed
Auto merge of #3815 - phansch:make_private, r=Manishearth
Make DiagnosticWrapper private It's doesn't have to be public anywhere outside of clippy_lints as far as I can tell.
2 parents e99611b + bd94932 commit 1233b39

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)