Comment out unused code that breaks clippy (#3287)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user