Skip to content

Commit d4aea0b

Browse files
committed
Auto merge of rust-lang#79780 - camelid:use-summary_opts, r=GuillaumeGomez
Use `summary_opts()` in another spot I added `summary_opts()` before I cut the branch for rust-lang#77686 (2 months ago!), so this "slipped through the cracks".
2 parents bda05cc + 2ee34a0 commit d4aea0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/markdown.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@ fn markdown_summary_with_limit(md: &str, length_limit: usize) -> (String, bool)
10571057
*text_length += text.len();
10581058
};
10591059

1060-
'outer: for event in Parser::new_ext(md, Options::ENABLE_STRIKETHROUGH) {
1060+
'outer: for event in Parser::new_ext(md, summary_opts()) {
10611061
match &event {
10621062
Event::Text(text) => {
10631063
for word in text.split_inclusive(char::is_whitespace) {

0 commit comments

Comments
 (0)