mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-27 07:03:45 +00:00
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:
commit
bc492f0cf4
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user