Rollup merge of #147732 - h3nryc0ding:master, r=chenyukang
remove duplicate inline macro
This commit is contained in:
commit
42cf0bd006
1 changed files with 0 additions and 1 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue