refactor: don't use full namespace for std::Result

This commit is contained in:
Jorge Martín
2025-12-02 15:23:16 +01:00
committed by Jorge Martin Espinosa
parent e1cda064ee
commit 76651aec69
5 changed files with 5 additions and 5 deletions
@@ -251,7 +251,7 @@ impl EventCacheStore for MemoryStore {
Ok(())
}
async fn optimize(&self) -> std::result::Result<(), Self::Error> {
async fn optimize(&self) -> Result<(), Self::Error> {
Ok(())
}
}
@@ -219,7 +219,7 @@ impl MediaStore for MemoryMediaStore {
self.media_service.clean(self).await
}
async fn optimize(&self) -> std::result::Result<(), Self::Error> {
async fn optimize(&self) -> Result<(), Self::Error> {
Ok(())
}
}
@@ -1051,7 +1051,7 @@ impl StateStore for MemoryStore {
Ok(())
}
async fn optimize(&self) -> std::result::Result<(), Self::Error> {
async fn optimize(&self) -> Result<(), Self::Error> {
Ok(())
}
}
@@ -1431,7 +1431,7 @@ impl EventCacheStore for SqliteEventCacheStore {
.await
}
async fn optimize(&self) -> std::result::Result<(), Self::Error> {
async fn optimize(&self) -> Result<(), Self::Error> {
Ok(self.vacuum().await?)
}
}
+1 -1
View File
@@ -394,7 +394,7 @@ impl MediaStore for SqliteMediaStore {
self.media_service.clean(self).await
}
async fn optimize(&self) -> std::result::Result<(), Self::Error> {
async fn optimize(&self) -> Result<(), Self::Error> {
Ok(self.vacuum().await?)
}
}