Remove unused IoSlice import

This commit is contained in:
Leonora Tindall 2019-12-29 12:06:45 -08:00
parent 106a2612bd
commit a160d5902d
Signed by: nora
GPG Key ID: 7A8B52EC67E09AAF
1 changed files with 0 additions and 1 deletions

View File

@ -224,7 +224,6 @@ impl Rn2903 {
///
/// Using [`::transact()`](#method.transact) is preferred.
pub fn send_line(&mut self, line: &[u8]) -> Result<()> {
use std::io::IoSlice;
let bytes: Vec<u8> = line.iter().chain(b"\x0D\x0A".iter()).cloned().collect();
let mut cursor = 0;
while cursor < bytes.len() {