about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-05-12 11:41:10 +0200
committerGitHub <noreply@github.com>2020-05-12 11:41:10 +0200
commit5fe77e59979e7fa0a83db18c203875de71b5a44d (patch)
treeef09f7a3acbe8a2df97023a9186131dd96424065 /src/test/rustdoc
parent2a1581c50c5af46a7760f0ce9fe93d5b52818940 (diff)
parentbbda107436c01204614dce4cff70a0b475945a9d (diff)
downloadrust-5fe77e59979e7fa0a83db18c203875de71b5a44d.tar.gz
rust-5fe77e59979e7fa0a83db18c203875de71b5a44d.zip
Rollup merge of #71928 - mibac138:strikethrough, r=GuillaumeGomez
Add strikethrough support to rustdoc

Implements uncontroversial part of #71183.
r? @GuillaumeGomez
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/test-strikethrough.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/rustdoc/test-strikethrough.rs b/src/test/rustdoc/test-strikethrough.rs
new file mode 100644
index 00000000000..c7855729a98
--- /dev/null
+++ b/src/test/rustdoc/test-strikethrough.rs
@@ -0,0 +1,6 @@
+#![crate_name = "foo"]
+
+// @has foo/fn.f.html
+// @has - //del "Y"
+/// ~~Y~~
+pub fn f() {}