about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2020-12-07 21:52:13 -0500
committerAaron Hill <aa1ronham@gmail.com>2020-12-29 16:30:02 -0500
commit21ed141b94c189a23f24832dd222dc28ee61bf12 (patch)
treea123cfef6b960367582665285dadcbf57854b986
parentc857cbeb0610db7148682808c7305073546b6a63 (diff)
downloadrust-21ed141b94c189a23f24832dd222dc28ee61bf12.tar.gz
rust-21ed141b94c189a23f24832dd222dc28ee61bf12.zip
Remove trailing semicolon in librustdoc
-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 2ae28dcd0c4..9c206dfce59 100644
--- a/src/librustdoc/html/markdown.rs
+++ b/src/librustdoc/html/markdown.rs
@@ -1027,7 +1027,7 @@ fn markdown_summary_with_limit(md: &str, length_limit: usize) -> (String, bool)
     fn push(s: &mut String, text_length: &mut usize, text: &str) {
         s.push_str(text);
         *text_length += text.len();
-    };
+    }
 
     'outer: for event in Parser::new_ext(md, summary_opts()) {
         match &event {