From be0d969f7b84ade389301a8a5961a2ce22f24661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Harabie=C5=84?= Date: Sun, 3 Jun 2018 16:29:44 +0200 Subject: [PATCH] Remove ReadSeek and ReadWriteSeek traits duplicated definition --- src/utils.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/utils.rs b/src/utils.rs index dddb384..0df2ca1 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -2,12 +2,6 @@ use io::prelude::*; use io; use core::cmp; -pub trait ReadSeek: Read + Seek {} -impl ReadSeek for T where T: Read + Seek {} - -pub trait ReadWriteSeek: Read + Write + Seek {} -impl ReadWriteSeek for T where T: Read + Write + Seek {} - const BUF_SIZE: usize = 512; pub struct BufStream {