commit | 686b59b4f791bb04ade5f2a016e76c66b180f39a | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sun Sep 04 14:39:50 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sun Sep 04 14:39:50 2016 -0700 |
tree | e810267360b0a516d78ba5969a52e26053b415dd | |
parent | 812c200cd1860f1a401a7ee7a7d5fefca5bee616 [diff] |
Ty param bounds are separated by '+'
diff --git a/src/generics.rs b/src/generics.rs index 766882c..04475dd 100644 --- a/src/generics.rs +++ b/src/generics.rs
@@ -222,7 +222,7 @@ self.ident.to_tokens(tokens); if !self.bounds.is_empty() { tokens.append(":"); - tokens.append_separated(&self.bounds, ","); + tokens.append_separated(&self.bounds, "+"); } if let Some(ref default) = self.default { tokens.append("=");