@@ -494,7 +494,7 @@ impl<T> Arc<T> {
494494 /// drop to zero and the inner value of the `Arc` to be dropped:
495495 /// For instance if two threads execute this expression in parallel, then
496496 /// there is a race condition. The threads could first both check whether they
497- /// have the last clone of their `Arc` via `try_unwrap`, and then
497+ /// have the last clone of their `Arc` via `Arc:: try_unwrap`, and then
498498 /// both drop their `Arc` in the call to [`ok`][`Result::ok`],
499499 /// taking the strong count from two down to zero.
500500 ///
@@ -537,17 +537,17 @@ impl<T> Arc<T> {
537537 ///
538538 /// This will succeed even if there are outstanding weak references.
539539 ///
540- /// If `into_inner` is called on every clone of this `Arc`,
540+ /// If `Arc:: into_inner` is called on every clone of this `Arc`,
541541 /// it is guaranteed that exactly one of the calls returns the inner value.
542542 /// This means in particular that the inner value is not dropped.
543543 ///
544544 /// The similar expression `Arc::try_unwrap(this).ok()` does not
545545 /// offer such a guarantee. See the last example below and the documentation
546- /// of [`try_unwrap`][` Arc::try_unwrap`].
546+ /// of [`Arc::try_unwrap`].
547547 ///
548548 /// # Examples
549549 ///
550- /// Minimal example demonstrating the guarantee that `into_inner` gives.
550+ /// Minimal example demonstrating the guarantee that `Arc:: into_inner` gives.
551551 /// ```
552552 /// #![feature(arc_into_inner)]
553553 ///
@@ -556,7 +556,7 @@ impl<T> Arc<T> {
556556 /// let x = Arc::new(3);
557557 /// let y = Arc::clone(&x);
558558 ///
559- /// // Two threads calling `into_inner` on both clones of an `Arc`:
559+ /// // Two threads calling `Arc:: into_inner` on both clones of an `Arc`:
560560 /// let x_unwrap_thread = std::thread::spawn(|| Arc::into_inner(x));
561561 /// let y_unwrap_thread = std::thread::spawn(|| Arc::into_inner(y));
562562 ///
@@ -572,7 +572,7 @@ impl<T> Arc<T> {
572572 /// // `Arc::try_unwrap(x).ok()` and `Arc::try_unwrap(y).ok()` instead.
573573 /// ```
574574 ///
575- /// A more practical example demonstrating the need for `into_inner`:
575+ /// A more practical example demonstrating the need for `Arc:: into_inner`:
576576 /// ```
577577 /// #![feature(arc_into_inner)]
578578 ///
0 commit comments