index: remove unneeded Any trait bound from MutableIndex

We use .as_any() to downcast to the backend impl instead.
This commit is contained in:
Yuya Nishihara 2023-12-08 12:56:15 +09:00
parent d77dae4ce7
commit 0f37027646

View file

@ -78,7 +78,7 @@ pub trait ReadonlyIndex: Send + Sync {
fn start_modification(&self) -> Box<dyn MutableIndex>;
}
pub trait MutableIndex: Any {
pub trait MutableIndex {
fn as_any(&self) -> &dyn Any;
fn into_any(self: Box<Self>) -> Box<dyn Any>;