File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
branches/snap-stage3/src/libsyntax/print Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 9146a919b616e39e528e4d7100d16eef52f1f852
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 3925b4d5c94c10f6e3cff05afcb5866d62a7235c
4
+ refs/heads/snap-stage3: 0a1798dd1e7fad9f04a99c58623661ffb1747de0
5
5
refs/heads/try: 20cbbffeefc1f35e2ea63afce7b42fbd79611d42
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
Original file line number Diff line number Diff line change @@ -1005,8 +1005,13 @@ impl<'a> State<'a> {
1005
1005
fn print_poly_trait_ref ( & mut self , t : & ast:: PolyTraitRef ) -> IoResult < ( ) > {
1006
1006
if !t. bound_lifetimes . is_empty ( ) {
1007
1007
try!( word ( & mut self . s , "for<" ) ) ;
1008
+ let mut comma = false ;
1008
1009
for lifetime_def in t. bound_lifetimes . iter ( ) {
1010
+ if comma {
1011
+ try!( self . word_space ( "," ) )
1012
+ }
1009
1013
try!( self . print_lifetime_def ( lifetime_def) ) ;
1014
+ comma = true ;
1010
1015
}
1011
1016
try!( word ( & mut self . s , ">" ) ) ;
1012
1017
}
You can’t perform that action at this time.
0 commit comments