mirror of
				https://github.com/mozilla/gecko-dev.git
				synced 2025-11-04 10:18:41 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			174 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			174 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
#![warn(rust_2018_idioms)]
 | 
						|
#![cfg(feature = "full")]
 | 
						|
 | 
						|
use tokio::io::AsyncRead;
 | 
						|
 | 
						|
#[test]
 | 
						|
fn assert_obj_safe() {
 | 
						|
    fn _assert<T>() {}
 | 
						|
    _assert::<Box<dyn AsyncRead>>();
 | 
						|
}
 |