]> git.lizzy.rs Git - rust.git/commitdiff
Remove trailing semicolon in librustdoc
authorAaron Hill <aa1ronham@gmail.com>
Tue, 8 Dec 2020 02:52:13 +0000 (21:52 -0500)
committerAaron Hill <aa1ronham@gmail.com>
Tue, 29 Dec 2020 21:30:02 +0000 (16:30 -0500)
src/librustdoc/html/markdown.rs

index 2ae28dcd0c4787e1899828e7e3b65b302960d23d..9c206dfce591219d6bca9f6ca7c48abf9a23f21e 100644 (file)
@@ -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 {