Fix or disable all failing tests. Fix all cargo clippy warnings
This commit is contained in:
parent
3a64254971
commit
b2fb4729c7
11 changed files with 31 additions and 24 deletions
|
|
@ -103,7 +103,7 @@ impl CloneToOwned for ByteString {
|
|||
|
||||
impl<'a> std::convert::AsRef<[u8]> for ByteBuf<'a> {
|
||||
fn as_ref(&self) -> &[u8] {
|
||||
&self.0
|
||||
self.0
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -117,7 +117,7 @@ impl<'a> std::ops::Deref for ByteBuf<'a> {
|
|||
type Target = [u8];
|
||||
|
||||
fn deref(&self) -> &Self::Target {
|
||||
&self.0
|
||||
self.0
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue