Make rustdoc use the [_; N] syntax instead of [_, ..N]

This commit is contained in:
Ken Tossell 2015-01-08 22:35:08 -05:00
parent a8a210b57e
commit 38a1bb13cd

View File

@ -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) => {