Clippy: Fix (clippy::needless_borrow)

This commit is contained in:
Henrik Tjäder 2022-12-15 22:09:09 +01:00
parent e31ee3fa11
commit 10d2a59356

View file

@ -53,7 +53,7 @@ pub fn app(app: &App, _analysis: &Analysis) -> parse::Result<Extra> {
// If not enough tasks and first still is None, may cause // If not enough tasks and first still is None, may cause
// "custom attribute panicked" due to unwrap on None // "custom attribute panicked" due to unwrap on None
return Err(parse::Error::new(first.unwrap().span(), &s)); return Err(parse::Error::new(first.unwrap().span(), s));
} }
// Check that all exceptions are valid; only exceptions with configurable priorities are // Check that all exceptions are valid; only exceptions with configurable priorities are