Rollup merge of #147732 - h3nryc0ding:master, r=chenyukang

remove duplicate inline macro
This commit is contained in:
Matthias Krüger 2025-10-16 19:35:25 +02:00 committed by GitHub
commit 42cf0bd006
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -886,7 +886,6 @@ impl<T, A: Allocator> Arc<T, A> {
/// let five = Arc::try_new_in(5, System)?;
/// # Ok::<(), std::alloc::AllocError>(())
/// ```
#[inline]
#[unstable(feature = "allocator_api", issue = "32838")]
#[inline]
pub fn try_new_in(data: T, alloc: A) -> Result<Arc<T, A>, AllocError> {