mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-05 20:55:05 +00:00
index: remove unneeded Any trait bound from MutableIndex
We use .as_any() to downcast to the backend impl instead.
This commit is contained in:
parent
d77dae4ce7
commit
0f37027646
1 changed files with 1 additions and 1 deletions
|
@ -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>;
|
||||
|
|
Loading…
Reference in a new issue