1
Fork 0

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 @@ impl fmt::String for clean::Type {
} }
clean::FixedVector(ref t, ref s) => { clean::FixedVector(ref t, ref s) => {
primitive_link(f, clean::Slice, primitive_link(f, clean::Slice,
format!("[{}, ..{}]", **t, *s).as_slice()) format!("[{}; {}]", **t, *s).as_slice())
} }
clean::Bottom => f.write_str("!"), clean::Bottom => f.write_str("!"),
clean::RawPointer(m, ref t) => { clean::RawPointer(m, ref t) => {