Fix typo in assert message

This commit is contained in:
Zachary S 2024-05-19 13:29:45 -05:00
parent 58f8ed122a
commit 3299823d62

View File

@ -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.",
); );