提交 bc492f0c 编写于 作者: B bors

Merge pull request #20793 from ktossell/rustdoc-fixedvector-syntax

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

Reviewed-by: sfackler
......@@ -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.
先完成此消息的编辑!
想要评论请 注册