Remove unused code

This commit is contained in:
Ben Brandt 2025-07-24 10:53:54 +02:00
parent 0915e4b34b
commit e9a9f6dace
No known key found for this signature in database
GPG key ID: D4618C5D3B500571
2 changed files with 2 additions and 106 deletions

View file

@ -916,7 +916,7 @@ impl AcpThread {
&mut self,
message: &str,
cx: &mut Context<Self>,
) -> BoxFuture<'static, Result<(), acp_old::Error>> {
) -> BoxFuture<'static, Result<()>> {
self.send(
vec![acp::ContentBlock::Text(acp::TextContent {
text: message.to_string(),
@ -930,7 +930,7 @@ impl AcpThread {
&mut self,
message: Vec<acp::ContentBlock>,
cx: &mut Context<Self>,
) -> BoxFuture<'static, Result<(), acp_old::Error>> {
) -> BoxFuture<'static, Result<()>> {
let block = ContentBlock::new_combined(
message.clone(),
self.project.read(cx).languages().clone(),