Remove unused code
This commit is contained in:
parent
0915e4b34b
commit
e9a9f6dace
2 changed files with 2 additions and 106 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue