Skip to content

Commit

Permalink
Merge pull request rust-lang#20793 from ktossell/rustdoc-fixedvector-…
Browse files Browse the repository at this point in the history
…syntax

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

Reviewed-by: sfackler
  • Loading branch information
bors committed Jan 9, 2015
2 parents 87ed884 + 38a1bb1 commit bc492f0
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 bc492f0

Please sign in to comment.