From f8fd2de037ea505eeadfaaf216b60b4efdb4cb78 Mon Sep 17 00:00:00 2001 From: aumetra Date: Fri, 27 Sep 2024 21:21:45 +0200 Subject: [PATCH] fix lint --- lib/schaber/src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/schaber/src/lib.rs b/lib/schaber/src/lib.rs index 7eeaae923..c49f92127 100644 --- a/lib/schaber/src/lib.rs +++ b/lib/schaber/src/lib.rs @@ -48,8 +48,7 @@ impl Scraper { I: AsRef<[u8]>, H: FnMut(&Element<'_, '_>) -> ControlFlow<()>, { - #[allow(clippy::inline_always)] - #[inline(always)] + #[inline] fn handler_assert(uwu: F) -> F where F: FnMut(&mut Element<'_, '_>) -> HandlerResult, @@ -57,8 +56,7 @@ impl Scraper { uwu } - #[allow(clippy::inline_always)] - #[inline(always)] + #[inline] fn sink_assert(uwu: F) -> F where F: FnMut(&[u8]),