Skip to content

Commit f7f450e

Browse files
Don't duplicate the lint description
1 parent c522354 commit f7f450e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clippy_lints/src/methods/unbuffered_bytes.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use rustc_hir as hir;
66
use rustc_lint::LateContext;
77
use rustc_span::sym;
88

9-
/// lint to detect `.bytes()` on an unbuffered type such as a `File` or `TcpStream`
109
pub(super) fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, recv: &hir::Expr<'_>) {
1110
// Retrieve the DefId of the BufRead trait
1211
// FIXME: add a diagnostic item for `BufRead`

0 commit comments

Comments
 (0)