mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 03:33:59 +00:00
rustdoc: Add missing trailing comma for single element tuples
This commit is contained in:
parent
552bf75e7d
commit
ad5ab2f360
@ -460,7 +460,7 @@ impl fmt::Display for clean::Type {
|
||||
[] => primitive_link(f, clean::PrimitiveTuple, "()"),
|
||||
[ref one] => {
|
||||
try!(primitive_link(f, clean::PrimitiveTuple, "("));
|
||||
try!(write!(f, "{}", one));
|
||||
try!(write!(f, "{},", one));
|
||||
primitive_link(f, clean::PrimitiveTuple, ")")
|
||||
}
|
||||
many => {
|
||||
|
Loading…
Reference in New Issue
Block a user