提交 38a1bb13 编写于 作者: K Ken Tossell

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

上级 a8a210b5
......@@ -544,7 +544,7 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
}
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) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册