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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue