Skip to content

Commit 70bf864

Browse files
committed
fixup
1 parent ebea025 commit 70bf864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/markdown.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ pub fn render(w: &mut fmt::Formatter, s: &str, print_toc: bool) -> fmt::Result {
306306

307307
let (open, close) = if !opaque.math_enabled {
308308
("$$", "$$")
309-
} else if displaymode == 1 {
309+
} else if display_mode == 1 {
310310
("\\[", "\\]")
311311
} else {
312312
("\\(", "\\)")

0 commit comments

Comments
 (0)