Merge pull request #20793 from ktossell/rustdoc-fixedvector-syntax

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

Reviewed-by: sfackler
This commit is contained in:
bors 2015-01-09 17:35:10 +00:00
commit bc492f0cf4

View File

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