Comment out unused code that breaks clippy (#3287)

This commit is contained in:
Jon Häggblad
2023-04-06 23:05:47 +02:00
committed by GitHub
parent 690c4164a7
commit 95e2e3d0d2
+7 -8
View File
@@ -311,14 +311,13 @@ impl Storage for PersistentStorage {
#[derive(Clone)]
pub(crate) struct InMemStorage;
#[cfg(test)]
impl InMemStorage {
#[allow(unused)]
#[allow(clippy::extra_unused_type_parameters)]
async fn init<P: AsRef<Path> + Send>() -> Result<Self, StorageError> {
todo!()
}
}
//#[cfg(test)]
//impl InMemStorage {
// #[allow(unused)]
// async fn init<P: AsRef<Path> + Send>() -> Result<Self, StorageError> {
// todo!()
// }
//}
#[cfg(test)]
#[async_trait]