Fix clippy
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
parent
26bb30c77a
commit
d276e7d6b3
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue