about summary refs log tree commit diff
path: root/src/librustdoc/html/markdown.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-05-23 16:22:07 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-05-26 16:47:44 +1000
commit4f1f1a2b57ae9dccca4af131def547bf1106f582 (patch)
treeeb59e2ef569fccaeee54cfa8855c9126729e9177 /src/librustdoc/html/markdown.rs
parent750f57fafe43a07758ecf8e2622ebba2967966ae (diff)
downloadrust-4f1f1a2b57ae9dccca4af131def547bf1106f582.tar.gz
rust-4f1f1a2b57ae9dccca4af131def547bf1106f582.zip
Avoid some unnecessary cloning.
Diffstat (limited to 'src/librustdoc/html/markdown.rs')
-rw-r--r--src/librustdoc/html/markdown.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs
index ad7dfafd90c..d6ad3545b69 100644
--- a/src/librustdoc/html/markdown.rs
+++ b/src/librustdoc/html/markdown.rs
@@ -195,7 +195,7 @@ fn slugify(c: char) -> Option<char> {
     }
 }
 
-#[derive(Clone, Debug)]
+#[derive(Debug)]
 pub struct Playground {
     pub crate_name: Option<Symbol>,
     pub url: String,