]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/methods/chars_next_cmp.rs
Fix adjacent code
[rust.git] / clippy_lints / src / methods / chars_next_cmp.rs
index a6701d8830e77d099f17bcc7192f6f6cac566190..b631fecab9729e4de4c6ed853aa9928ed1eb175a 100644 (file)
@@ -3,6 +3,6 @@
 use super::CHARS_NEXT_CMP;
 
 /// Checks for the `CHARS_NEXT_CMP` lint.
-pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, info: &crate::methods::BinaryExprInfo<'_>) -> bool {
+pub(super) fn check(cx: &LateContext<'_>, info: &crate::methods::BinaryExprInfo<'_>) -> bool {
     crate::methods::chars_cmp::check(cx, info, &["chars", "next"], CHARS_NEXT_CMP, "starts_with")
 }