add clippy::use_self for cleanliness

This commit is contained in:
Benjamin Fry
2022-02-17 18:01:13 -08:00
parent 96c7f96921
commit 95b2dee327
128 changed files with 791 additions and 796 deletions

View File

@@ -49,7 +49,7 @@ pub struct AsyncStdRuntime;
impl Executor for AsyncStdRuntime {
fn new() -> Self {
AsyncStdRuntime {}
Self {}
}
fn block_on<F: Future>(&mut self, future: F) -> F::Output {