chore: fix clippy false positive (#9329)

This commit is contained in:
Amr Bashir
2024-04-01 18:11:09 +02:00
committed by GitHub
parent 9dd67abd93
commit fe6f81fa88

View File

@@ -41,6 +41,8 @@ impl StartingBinary {
///
/// Because [`Error`] is not clone-able, it is recreated instead.
pub(super) fn cloned(&self) -> Result<PathBuf> {
// false positive
#[allow(clippy::useless_asref)]
self
.0
.as_ref()