Make rustdoc use the [_; N]
syntax instead of [_, ..N]
This commit is contained in:
parent
a8a210b57e
commit
38a1bb13cd
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user