Skip to content

Commit 38a1bb1

Browse files
committed
Make rustdoc use the [_; N] syntax instead of [_, ..N]
1 parent a8a210b commit 38a1bb1

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)