mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-02 19:32:25 +01:00
Fix clippy::needless_lifetimes
warnings
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user