ZeroTierOne/zeroidc/vendor/tokio/tests/io_async_read.rs

11 lines
174 B
Rust
Raw Normal View History

#![warn(rust_2018_idioms)]
#![cfg(feature = "full")]
use tokio::io::AsyncRead;
#[test]
fn assert_obj_safe() {
fn _assert<T>() {}
_assert::<Box<dyn AsyncRead>>();
}