forked from mirrors/gecko-dev
		
	servo: Merge #15828 - style: Remove unneeded indirection in LonghandsToSerialize (from emilio:cleanup-all-day); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo Source-Revision: d4bdd33cd9816e2ceab9ddd9afd145cef8579087 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : e76295de4c9c92263236677eabd8f6d819a2b738
This commit is contained in:
		
							parent
							
								
									076bd77329
								
							
						
					
					
						commit
						1701707c3b
					
				
					 1 changed files with 2 additions and 7 deletions
				
			
		|  | @ -499,13 +499,8 @@ | ||||||
|         /// correspond to a shorthand.
 |         /// correspond to a shorthand.
 | ||||||
|         pub struct LonghandsToSerialize<'a> { |         pub struct LonghandsToSerialize<'a> { | ||||||
|             % for sub_property in shorthand.sub_properties: |             % for sub_property in shorthand.sub_properties: | ||||||
|                 % if sub_property.boxed: |  | ||||||
|                     pub ${sub_property.ident}: |  | ||||||
|                         &'a Box<longhands::${sub_property.ident}::SpecifiedValue>, |  | ||||||
|                 % else: |  | ||||||
|                 pub ${sub_property.ident}: |                 pub ${sub_property.ident}: | ||||||
|                     &'a longhands::${sub_property.ident}::SpecifiedValue, |                     &'a longhands::${sub_property.ident}::SpecifiedValue, | ||||||
|                 % endif |  | ||||||
|             % endfor |             % endfor | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Emilio Cobos Álvarez
						Emilio Cobos Álvarez