Skip to content

Commit b3eb77c

Browse files
committed
tidy using
1 parent 3024aa3 commit b3eb77c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

bytes/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@ pub mod arc {
283283
/// shared4.try_merge(shared2).ok().expect("Failed to merge 4 and 231");
284284
/// ```
285285
pub fn try_merge(&mut self, other: Bytes) -> Result<(), Bytes> {
286-
use ::std::sync::Arc;
287286
if Arc::ptr_eq(&self.sequestered, &other.sequestered) && ::std::ptr::eq(unsafe { self.ptr.offset(self.len as isize) }, other.ptr) {
288287
self.len += other.len;
289288
Ok(())

0 commit comments

Comments
 (0)