Remove unused method

This commit is contained in:
Joscha 2024-11-06 22:01:41 +01:00
parent 106a047b78
commit 461cc37d88
2 changed files with 0 additions and 5 deletions

View file

@ -14,7 +14,6 @@ pub trait Renderer<Id> {
fn blocks(&self) -> &Blocks<Id>; fn blocks(&self) -> &Blocks<Id>;
fn blocks_mut(&mut self) -> &mut Blocks<Id>; fn blocks_mut(&mut self) -> &mut Blocks<Id>;
fn into_blocks(self) -> Blocks<Id>;
async fn expand_top(&mut self) -> Result<(), Self::Error>; async fn expand_top(&mut self) -> Result<(), Self::Error>;
async fn expand_bottom(&mut self) -> Result<(), Self::Error>; async fn expand_bottom(&mut self) -> Result<(), Self::Error>;

View file

@ -460,10 +460,6 @@ where
&mut self.blocks &mut self.blocks
} }
fn into_blocks(self) -> TreeBlocks<M::Id> {
self.blocks
}
async fn expand_top(&mut self) -> Result<(), Self::Error> { async fn expand_top(&mut self) -> Result<(), Self::Error> {
let prev_root_id = if let Some(top_root_id) = &self.top_root_id { let prev_root_id = if let Some(top_root_id) = &self.top_root_id {
self.store.prev_root_id(top_root_id).await? self.store.prev_root_id(top_root_id).await?