Skip to content

Commit

Permalink
Don't duplicate the lint description
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanBrouwer committed Jan 28, 2025
1 parent c522354 commit f7f450e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion clippy_lints/src/methods/unbuffered_bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use rustc_hir as hir;
use rustc_lint::LateContext;
use rustc_span::sym;

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

0 comments on commit f7f450e

Please sign in to comment.