diff options
| author | bors <bors@rust-lang.org> | 2020-09-03 05:53:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-03 05:53:48 +0000 |
| commit | 08deb863bdebfcbbb71c18acf903eca84f1df4e7 (patch) | |
| tree | 2d3aa4dadd1b91d2506952df2fd6e1bbc12ad6af /library/alloc/src/sync.rs | |
| parent | 1e33c742ca572a93d97106876041c241c23a562a (diff) | |
| parent | bb103476a9375787f7e610ab1883093f8358ed70 (diff) | |
| download | rust-08deb863bdebfcbbb71c18acf903eca84f1df4e7.tar.gz rust-08deb863bdebfcbbb71c18acf903eca84f1df4e7.zip | |
Auto merge of #76235 - jyn514:std-intra-links, r=poliorcetics
Convert many files to intra-doc links Helps with https://github.com/rust-lang/rust/issues/75080 r? @poliorcetics I recommend reviewing one commit at a time, but the diff is small enough you can do it all at once if you like :)
Diffstat (limited to 'library/alloc/src/sync.rs')
| -rw-r--r-- | library/alloc/src/sync.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/sync.rs b/library/alloc/src/sync.rs index ff07bf52c02..6a240fbb42a 100644 --- a/library/alloc/src/sync.rs +++ b/library/alloc/src/sync.rs @@ -152,7 +152,7 @@ macro_rules! acquire { /// [upgrade]: Weak::upgrade /// [`RefCell<T>`]: core::cell::RefCell /// [`std::sync`]: ../../std/sync/index.html -/// [`Arc::clone(&from)`]: #method.clone +/// [`Arc::clone(&from)`]: Arc::clone /// /// # Examples /// @@ -201,7 +201,7 @@ macro_rules! acquire { /// See the [`rc` documentation][rc_examples] for more examples of reference /// counting in general. /// -/// [rc_examples]: ../../std/rc/index.html#examples +/// [rc_examples]: crate::rc#examples #[cfg_attr(not(test), rustc_diagnostic_item = "Arc")] #[stable(feature = "rust1", since = "1.0.0")] pub struct Arc<T: ?Sized> { |
