@@ -311,7 +311,7 @@ impl<T> Arc<T> {
311
311
Self :: from_inner ( Box :: into_raw_non_null ( x) )
312
312
}
313
313
314
- /// Construct a Arc box with uninitialized contents.
314
+ /// Constructs a new `Arc` with uninitialized contents.
315
315
///
316
316
/// # Examples
317
317
///
@@ -393,7 +393,7 @@ impl<T> Arc<T> {
393
393
}
394
394
395
395
impl < T > Arc < [ T ] > {
396
- /// Construct a new reference-counted slice with uninitialized contents.
396
+ /// Constructs a new reference-counted slice with uninitialized contents.
397
397
///
398
398
/// # Examples
399
399
///
@@ -425,7 +425,7 @@ impl<T> Arc<[T]> {
425
425
}
426
426
427
427
impl < T > Arc < mem:: MaybeUninit < T > > {
428
- /// Convert to `Arc<T>`.
428
+ /// Converts to `Arc<T>`.
429
429
///
430
430
/// # Safety
431
431
///
@@ -464,7 +464,7 @@ impl<T> Arc<mem::MaybeUninit<T>> {
464
464
}
465
465
466
466
impl < T > Arc < [ mem:: MaybeUninit < T > ] > {
467
- /// Convert to `Arc<[T]>`.
467
+ /// Converts to `Arc<[T]>`.
468
468
///
469
469
/// # Safety
470
470
///
@@ -1106,7 +1106,7 @@ impl<T: ?Sized> Arc<T> {
1106
1106
///
1107
1107
/// Any other `Arc` or [`Weak`] pointers to the same value must not be dereferenced
1108
1108
/// for the duration of the returned borrow.
1109
- /// This is trivially the case if no such pointer exist,
1109
+ /// This is trivially the case if no such pointers exist,
1110
1110
/// for example immediately after `Arc::new`.
1111
1111
///
1112
1112
/// # Examples
0 commit comments