style(lib): use rust 2018 edition idioms (#1910)

This commit is contained in:
lzutao
2019-08-22 01:22:07 +07:00
committed by Sean McArthur
parent ae75b3a732
commit fc7f81b67c
38 changed files with 90 additions and 146 deletions

View File

@@ -129,8 +129,7 @@ mod tests {
use super::Rewind;
/*
use super::*;
extern crate tokio_mockstream;
use self::tokio_mockstream::MockStream;
use tokio_mockstream::MockStream;
use std::io::Cursor;
// Test a partial rewind