scheduler: forbid indexing and slicing

This commit is contained in:
Alexander Krotov
2020-06-19 02:44:49 +03:00
committed by link2xt
parent c655fd8a64
commit 0007e93e80

View File

@@ -1,3 +1,5 @@
#![warn(clippy::indexing_slicing)]
use async_std::prelude::*;
use async_std::sync::{channel, Receiver, Sender};
use async_std::task;