mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			6 lines
		
	
	
		
			173 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			173 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // check-pass
 | |
| // manually desugared version of an `async fn` (but with a closure instead of a generator)
 | |
| pub fn a() -> impl Fn() -> u32 {
 | |
|     || content::doesnt::matter()
 | |
| }
 | 
