1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-28 17:51:44 +00:00

Fix clippy::needless_lifetimes warnings

This commit is contained in:
einfachIrgendwer0815
2025-02-02 14:20:05 +01:00
parent bc24ce9ad4
commit 52252b15d6
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ pub struct SyntaxMapping<'a> {
halt_glob_build: Arc<AtomicBool>,
}
impl<'a> Drop for SyntaxMapping<'a> {
impl Drop for SyntaxMapping<'_> {
fn drop(&mut self) {
// signal the offload thread to halt early
self.halt_glob_build.store(true, Ordering::Relaxed);