Remove traits mod

This commit is contained in:
Carl Lerche
2016-08-05 21:42:07 -07:00
parent 3f68c4bd27
commit 6529f6392a
9 changed files with 10 additions and 21 deletions
-5
View File
@@ -33,11 +33,6 @@ pub use str::{
use std::u32;
pub mod traits {
//! All traits are re-exported here to allow glob imports.
pub use {Buf, MutBuf, ByteStr, ToBytes};
}
const MAX_CAPACITY: usize = u32::MAX as usize;
+2 -1
View File
@@ -1,5 +1,6 @@
use {ByteBuf, SmallByteStr};
use traits::{Buf, ByteStr, ToBytes};
use buf::{Buf};
use str::{ByteStr, ToBytes};
use std::{fmt, mem, ops, ptr};
use std::any::{TypeId};
+2 -1
View File
@@ -1,5 +1,6 @@
use {Bytes, ByteBuf};
use traits::{Buf, ByteStr, MutBuf, ToBytes};
use buf::{Buf, MutBuf};
use str::{ByteStr, ToBytes};
use std::{cmp, mem, ops};
use std::sync::Arc;
+2 -1
View File
@@ -1,5 +1,6 @@
use {Bytes, Rope};
use traits::{Buf, ByteStr, ToBytes};
use buf::Buf;
use str::{ByteStr, ToBytes};
use std::{cmp, ops};
/*