mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-06 00:00:10 +02:00
fuzz: remove unused code from fuzz_steam_map.rs (#5675)
This commit is contained in:
@@ -3,17 +3,8 @@
|
|||||||
use libfuzzer_sys::fuzz_target;
|
use libfuzzer_sys::fuzz_target;
|
||||||
use std::pin::Pin;
|
use std::pin::Pin;
|
||||||
|
|
||||||
use tokio_stream::{self as stream, pending, Stream, StreamExt, StreamMap};
|
use tokio_stream::{self as stream, Stream, StreamMap};
|
||||||
use tokio_test::{assert_ok, assert_pending, assert_ready, task};
|
use tokio_test::{assert_pending, assert_ready, task};
|
||||||
|
|
||||||
macro_rules! assert_ready_some {
|
|
||||||
($($t:tt)*) => {
|
|
||||||
match assert_ready!($($t)*) {
|
|
||||||
Some(v) => v,
|
|
||||||
None => panic!("expected `Some`, got `None`"),
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
macro_rules! assert_ready_none {
|
macro_rules! assert_ready_none {
|
||||||
($($t:tt)*) => {
|
($($t:tt)*) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user