rustdoc: Add missing trailing comma for single element tuples
This commit is contained in:
@@ -460,7 +460,7 @@ impl fmt::Display for clean::Type {
|
|||||||
[] => primitive_link(f, clean::PrimitiveTuple, "()"),
|
[] => primitive_link(f, clean::PrimitiveTuple, "()"),
|
||||||
[ref one] => {
|
[ref one] => {
|
||||||
try!(primitive_link(f, clean::PrimitiveTuple, "("));
|
try!(primitive_link(f, clean::PrimitiveTuple, "("));
|
||||||
try!(write!(f, "{}", one));
|
try!(write!(f, "{},", one));
|
||||||
primitive_link(f, clean::PrimitiveTuple, ")")
|
primitive_link(f, clean::PrimitiveTuple, ")")
|
||||||
}
|
}
|
||||||
many => {
|
many => {
|
||||||
|
|||||||
Reference in New Issue
Block a user