Skip to content

Commit e9a86a2

Browse files
committed
fix link label; use more https
1 parent 621d064 commit e9a86a2

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/libcore/sync/atomic.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
//!
3030
//! [`Ordering`]: enum.Ordering.html
3131
//!
32-
//! [1]: http://llvm.org/docs/LangRef.html#memory-model-for-concurrent-operations
32+
//! [1]: https://llvm.org/docs/LangRef.html#memory-model-for-concurrent-operations
3333
//! [2]: ../../../nomicon/atomics.html
3434
//!
3535
//! Atomic variables are safe to share between threads (they implement [`Sync`])
@@ -178,7 +178,7 @@ unsafe impl<T> Sync for AtomicPtr<T> {}
178178
/// "relaxed" atomics allow all reorderings.
179179
///
180180
/// Rust's memory orderings are [the same as
181-
/// LLVM's](http://llvm.org/docs/LangRef.html#memory-model-for-concurrent-operations).
181+
/// LLVM's](https://llvm.org/docs/LangRef.html#memory-model-for-concurrent-operations).
182182
///
183183
/// For more information see the [nomicon].
184184
///
@@ -190,7 +190,7 @@ pub enum Ordering {
190190
///
191191
/// Corresponds to LLVM's [`Monotonic`] ordering.
192192
///
193-
/// [`Monotonic`]: http://llvm.org/docs/Atomics.html#monotonic
193+
/// [`Monotonic`]: https://llvm.org/docs/Atomics.html#monotonic
194194
#[stable(feature = "rust1", since = "1.0.0")]
195195
Relaxed,
196196
/// When coupled with a store, all previous operations become ordered
@@ -205,8 +205,8 @@ pub enum Ordering {
205205
///
206206
/// Corresponds to LLVM's [`Release`] ordering.
207207
///
208-
/// [`Release`]: http://llvm.org/docs/Atomics.html#release
209-
/// [`Acquire`]: http://llvm.org/docs/Atomics.html#acquire
208+
/// [`Release`]: https://llvm.org/docs/Atomics.html#release
209+
/// [`Acquire`]: https://llvm.org/docs/Atomics.html#acquire
210210
/// [`Relaxed`]: https://llvm.org/docs/Atomics.html#monotonic
211211
#[stable(feature = "rust1", since = "1.0.0")]
212212
Release,
@@ -222,8 +222,8 @@ pub enum Ordering {
222222
///
223223
/// Corresponds to LLVM's [`Acquire`] ordering.
224224
///
225-
/// [`Acquire`]: http://llvm.org/docs/Atomics.html#acquire
226-
/// [`Release`]: http://llvm.org/docs/Atomics.html#release
225+
/// [`Acquire`]: https://llvm.org/docs/Atomics.html#acquire
226+
/// [`Release`]: https://llvm.org/docs/Atomics.html#release
227227
/// [`Relaxed`]: https://llvm.org/docs/Atomics.html#monotonic
228228
#[stable(feature = "rust1", since = "1.0.0")]
229229
Acquire,
@@ -238,9 +238,9 @@ pub enum Ordering {
238238
///
239239
/// Corresponds to LLVM's [`AcquireRelease`] ordering.
240240
///
241-
/// [`AcquireRelease`]: http://llvm.org/docs/Atomics.html#acquirerelease
242-
/// [`Acquire`]: http://llvm.org/docs/Atomics.html#acquire
243-
/// [`Release`]: http://llvm.org/docs/Atomics.html#release
241+
/// [`AcquireRelease`]: https://llvm.org/docs/Atomics.html#acquirerelease
242+
/// [`Acquire`]: https://llvm.org/docs/Atomics.html#acquire
243+
/// [`Release`]: https://llvm.org/docs/Atomics.html#release
244244
/// [`Relaxed`]: https://llvm.org/docs/Atomics.html#monotonic
245245
#[stable(feature = "rust1", since = "1.0.0")]
246246
AcqRel,
@@ -250,9 +250,9 @@ pub enum Ordering {
250250
///
251251
/// Corresponds to LLVM's [`SequentiallyConsistent`] ordering.
252252
///
253-
/// [`SequentiallyConsistent`]: http://llvm.org/docs/Atomics.html#sequentiallyconsistent
254-
/// [`Acquire`]: http://llvm.org/docs/Atomics.html#acquire
255-
/// [`Release`]: http://llvm.org/docs/Atomics.html#release
253+
/// [`SequentiallyConsistent`]: https://llvm.org/docs/Atomics.html#sequentiallyconsistent
254+
/// [`Acquire`]: https://llvm.org/docs/Atomics.html#acquire
255+
/// [`Release`]: https://llvm.org/docs/Atomics.html#release
256256
/// [`AcqRel`]: https://llvm.org/docs/Atomics.html#acquirerelease
257257
#[stable(feature = "rust1", since = "1.0.0")]
258258
SeqCst,
@@ -423,7 +423,7 @@ impl AtomicBool {
423423
/// might fail and hence just perform an `Acquire` load, but not have `Release` semantics.
424424
///
425425
/// [`Ordering`]: enum.Ordering.html
426-
/// [`Ordering`]: enum.Ordering.html#variant.AcqRel
426+
/// [`AcqRel`]: enum.Ordering.html#variant.AcqRel
427427
/// [`bool`]: ../../../std/primitive.bool.html
428428
///
429429
/// # Examples

0 commit comments

Comments
 (0)