about summary refs log tree commit diff
path: root/src/librustdoc/markdown_index_pass.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustdoc/markdown_index_pass.rs')
-rw-r--r--src/librustdoc/markdown_index_pass.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustdoc/markdown_index_pass.rs b/src/librustdoc/markdown_index_pass.rs
index b18694d00db..12d875945d9 100644
--- a/src/librustdoc/markdown_index_pass.rs
+++ b/src/librustdoc/markdown_index_pass.rs
@@ -160,7 +160,8 @@ fn pandoc_header_id(header: &str) -> ~str {
 
 #[test]
 fn should_remove_punctuation_from_headers() {
-    fail_unless!(pandoc_header_id(~"impl foo of bar<A>") == ~"impl-foo-of-bara");
+    fail_unless!(pandoc_header_id(~"impl foo of bar<A>") ==
+        ~"impl-foo-of-bara");
     fail_unless!(pandoc_header_id(~"impl of num::num for int")
         == ~"impl-of-numnum-for-int");
     fail_unless!(pandoc_header_id(~"impl of num::num for int/&")