about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKen Tossell <ken@tossell.net>2015-01-08 22:35:08 -0500
committerKen Tossell <ken@tossell.net>2015-01-08 22:35:08 -0500
commit38a1bb13cd9e46cdca7bd061820e5e990ff06e69 (patch)
tree6c7d75ad5efb485e7f16d994e32c9afd0fd25673
parenta8a210b57ef6b2f5f66b8798c80acfde70c9d2e7 (diff)
downloadrust-38a1bb13cd9e46cdca7bd061820e5e990ff06e69.tar.gz
rust-38a1bb13cd9e46cdca7bd061820e5e990ff06e69.zip
Make rustdoc use the `[_; N]` syntax instead of `[_, ..N]`
-rw-r--r--src/librustdoc/html/format.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/format.rs b/src/librustdoc/html/format.rs
index 2ae22b8fc0d..00f7c570b5d 100644
--- a/src/librustdoc/html/format.rs
+++ b/src/librustdoc/html/format.rs
@@ -544,7 +544,7 @@ impl fmt::String for clean::Type {
             }
             clean::FixedVector(ref t, ref s) => {
                 primitive_link(f, clean::Slice,
-                               format!("[{}, ..{}]", **t, *s).as_slice())
+                               format!("[{}; {}]", **t, *s).as_slice())
             }
             clean::Bottom => f.write_str("!"),
             clean::RawPointer(m, ref t) => {