Files
tokio/tokio/tests/io_async_read.rs
T

11 lines
174 B
Rust
Raw Normal View History

2019-11-22 15:55:10 -08:00
#![warn(rust_2018_idioms)]
#![cfg(feature = "full")]
use tokio::io::AsyncRead;
#[test]
2019-06-24 12:34:30 -07:00
fn assert_obj_safe() {
fn _assert<T>() {}
_assert::<Box<dyn AsyncRead>>();
}