chore: Fix Clippy after Rust 1.77

- There are some thread_local instances that can be made constant.
- An inner attribute can be moved to an outer one.
This commit is contained in:
Mads Marquart 2024-03-21 18:55:25 +01:00 committed by John Nunley
parent 9067426dca
commit 3efa6d855d
2 changed files with 3 additions and 4 deletions

View file

@ -117,9 +117,8 @@ impl error::Error for NotSupportedError {}
impl error::Error for EventLoopError {}
#[cfg(test)]
#[allow(clippy::redundant_clone)]
mod tests {
#![allow(clippy::redundant_clone)]
use super::*;
// Eat attributes for testing