Skip to content

Commit

Permalink
Make rustdoc use the [_; N] syntax instead of [_, ..N]
Browse files Browse the repository at this point in the history
  • Loading branch information
ktossell committed Jan 9, 2015
1 parent a8a210b commit 38a1bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 38a1bb1

Please sign in to comment.