diff --git a/cove/src/ui/chat/renderer.rs b/cove/src/ui/chat/renderer.rs index ae0ad8f..a619e7c 100644 --- a/cove/src/ui/chat/renderer.rs +++ b/cove/src/ui/chat/renderer.rs @@ -14,7 +14,6 @@ pub trait Renderer { fn blocks(&self) -> &Blocks; fn blocks_mut(&mut self) -> &mut Blocks; - fn into_blocks(self) -> Blocks; async fn expand_top(&mut self) -> Result<(), Self::Error>; async fn expand_bottom(&mut self) -> Result<(), Self::Error>; diff --git a/cove/src/ui/chat/tree/renderer.rs b/cove/src/ui/chat/tree/renderer.rs index 99f32b5..8b7b192 100644 --- a/cove/src/ui/chat/tree/renderer.rs +++ b/cove/src/ui/chat/tree/renderer.rs @@ -460,10 +460,6 @@ where &mut self.blocks } - fn into_blocks(self) -> TreeBlocks { - self.blocks - } - async fn expand_top(&mut self) -> Result<(), Self::Error> { let prev_root_id = if let Some(top_root_id) = &self.top_root_id { self.store.prev_root_id(top_root_id).await?