From 3299823d62024d2f665f762e33cf1bced1922521 Mon Sep 17 00:00:00 2001 From: Zachary S Date: Sun, 19 May 2024 13:29:45 -0500 Subject: [PATCH] Fix typo in assert message --- library/alloc/src/sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/alloc/src/sync.rs b/library/alloc/src/sync.rs index 2b338a1d6475..8a374dd30f85 100644 --- a/library/alloc/src/sync.rs +++ b/library/alloc/src/sync.rs @@ -2472,7 +2472,7 @@ unsafe impl<#[may_dangle] T: ?Sized, A: Allocator> Drop for Arc { // used by Default::default. debug_assert!( !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.", );