Skip to content

Commit 06f98cb

Browse files
committed
Fix typo in assert message
1 parent 68bd71a commit 06f98cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alloc/src/sync.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2472,7 +2472,7 @@ unsafe impl<#[may_dangle] T: ?Sized, A: Allocator> Drop for Arc<T, A> {
24722472
// used by Default::default.
24732473
debug_assert!(
24742474
!ptr::addr_eq(self.ptr.as_ptr(), &STATIC_INNER_SLICE.inner),
2475-
"Arcs backed by a static should never be reach a strong count of 0. \
2475+
"Arcs backed by a static should never reach a strong count of 0. \
24762476
Likely decrement_strong_count or from_raw were called too many times.",
24772477
);
24782478

0 commit comments

Comments
 (0)