diff options
| author | Camelid <camelidcamel@gmail.com> | 2020-12-06 18:52:36 -0800 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2020-12-06 18:52:36 -0800 |
| commit | 2ee34a0923643f277775c874beb8990be4b1385c (patch) | |
| tree | 17a3ade49274e5880a7607ef8b0d3e09228e26bb /src/librustdoc/html | |
| parent | 5bb68c31f8cef24174a7d3499de6b4ebea069900 (diff) | |
| download | rust-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.rs | 2 |
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) { |
