We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3925b4d commit 0a1798dCopy full SHA for 0a1798d
src/libsyntax/print/pprust.rs
@@ -1005,8 +1005,13 @@ impl<'a> State<'a> {
1005
fn print_poly_trait_ref(&mut self, t: &ast::PolyTraitRef) -> IoResult<()> {
1006
if !t.bound_lifetimes.is_empty() {
1007
try!(word(&mut self.s, "for<"));
1008
+ let mut comma = false;
1009
for lifetime_def in t.bound_lifetimes.iter() {
1010
+ if comma {
1011
+ try!(self.word_space(","))
1012
+ }
1013
try!(self.print_lifetime_def(lifetime_def));
1014
+ comma = true;
1015
}
1016
try!(word(&mut self.s, ">"));
1017
0 commit comments