Fix clippy

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
Danilo Leal 2025-08-26 16:34:48 -03:00
parent 26bb30c77a
commit d276e7d6b3

View file

@ -2927,8 +2927,6 @@ impl AcpThreadView {
window: &mut Window, window: &mut Window,
cx: &mut Context<Self>, cx: &mut Context<Self>,
) -> AnyElement { ) -> AnyElement {
let install_command = install_command.clone();
self.install_command_markdown.update(cx, |markdown, cx| { self.install_command_markdown.update(cx, |markdown, cx| {
if !markdown.source().contains(&install_command) { if !markdown.source().contains(&install_command) {
markdown.replace(format!("```\n{}\n```", install_command), cx); markdown.replace(format!("```\n{}\n```", install_command), cx);