about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2020-12-06 18:52:36 -0800
committerCamelid <camelidcamel@gmail.com>2020-12-06 18:52:36 -0800
commit2ee34a0923643f277775c874beb8990be4b1385c (patch)
tree17a3ade49274e5880a7607ef8b0d3e09228e26bb /src/librustdoc/html
parent5bb68c31f8cef24174a7d3499de6b4ebea069900 (diff)
downloadrust-2ee34a0923643f277775c874beb8990be4b1385c.tar.gz
rust-2ee34a0923643f277775c874beb8990be4b1385c.zip
Use `summary_opts()` in another spot
I added `summary_opts()` before I cut the branch for #77686 (2 months
ago!), so this "slipped through the cracks".
Diffstat (limited to 'src/librustdoc/html')
-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 0e4c5410abe..fb17eb462e1 100644
--- a/src/librustdoc/html/markdown.rs
+++ b/src/librustdoc/html/markdown.rs
@@ -1057,7 +1057,7 @@ fn markdown_summary_with_limit(md: &str, length_limit: usize) -> (String, bool)
         *text_length += text.len();
     };
 
-    'outer: for event in Parser::new_ext(md, Options::ENABLE_STRIKETHROUGH) {
+    'outer: for event in Parser::new_ext(md, summary_opts()) {
         match &event {
             Event::Text(text) => {
                 for word in text.split_inclusive(char::is_whitespace) {