From 38a1bb13cd9e46cdca7bd061820e5e990ff06e69 Mon Sep 17 00:00:00 2001 From: Ken Tossell Date: Thu, 8 Jan 2015 22:35:08 -0500 Subject: [PATCH] Make rustdoc use the `[_; N]` syntax instead of `[_, ..N]` --- src/librustdoc/html/format.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { } 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) => { -- GitLab