Skip to content

Commit bc492f0

Browse files
committed
Merge pull request #20793 from ktossell/rustdoc-fixedvector-syntax
Make rustdoc use the `[_; N]` syntax instead of `[_, ..N]` Reviewed-by: sfackler
2 parents 87ed884 + 38a1bb1 commit bc492f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/format.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ impl fmt::String for clean::Type {
544544
}
545545
clean::FixedVector(ref t, ref s) => {
546546
primitive_link(f, clean::Slice,
547-
format!("[{}, ..{}]", **t, *s).as_slice())
547+
format!("[{}; {}]", **t, *s).as_slice())
548548
}
549549
clean::Bottom => f.write_str("!"),
550550
clean::RawPointer(m, ref t) => {

0 commit comments

Comments
 (0)