Skip to content
Permalink
Browse files

tidy using

  • Loading branch information...
frankmcsherry committed Jun 4, 2019
1 parent 3024aa3 commit b3eb77cbbd08ab943a01cf2e288caa332c842ea8
Showing with 0 additions and 1 deletion.
  1. +0 −1 bytes/src/lib.rs
@@ -283,7 +283,6 @@ pub mod arc {
/// shared4.try_merge(shared2).ok().expect("Failed to merge 4 and 231");
/// ```
pub fn try_merge(&mut self, other: Bytes) -> Result<(), Bytes> {
use ::std::sync::Arc;
if Arc::ptr_eq(&self.sequestered, &other.sequestered) && ::std::ptr::eq(unsafe { self.ptr.offset(self.len as isize) }, other.ptr) {
self.len += other.len;
Ok(())

0 comments on commit b3eb77c

Please sign in to comment.
You can’t perform that action at this time.