Fix typo in assert message
This commit is contained in:
parent
58f8ed122a
commit
3299823d62
@ -2472,7 +2472,7 @@ fn drop(&mut self) {
|
|||||||
// used by Default::default.
|
// used by Default::default.
|
||||||
debug_assert!(
|
debug_assert!(
|
||||||
!ptr::addr_eq(self.ptr.as_ptr(), &STATIC_INNER_SLICE.inner),
|
!ptr::addr_eq(self.ptr.as_ptr(), &STATIC_INNER_SLICE.inner),
|
||||||
"Arcs backed by a static should never be reach a strong count of 0. \
|
"Arcs backed by a static should never reach a strong count of 0. \
|
||||||
Likely decrement_strong_count or from_raw were called too many times.",
|
Likely decrement_strong_count or from_raw were called too many times.",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user