29
29
//!
30
30
//! [`Ordering`]: enum.Ordering.html
31
31
//!
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
33
33
//! [2]: ../../../nomicon/atomics.html
34
34
//!
35
35
//! Atomic variables are safe to share between threads (they implement [`Sync`])
@@ -178,7 +178,7 @@ unsafe impl<T> Sync for AtomicPtr<T> {}
178
178
/// "relaxed" atomics allow all reorderings.
179
179
///
180
180
/// 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).
182
182
///
183
183
/// For more information see the [nomicon].
184
184
///
@@ -190,7 +190,7 @@ pub enum Ordering {
190
190
///
191
191
/// Corresponds to LLVM's [`Monotonic`] ordering.
192
192
///
193
- /// [`Monotonic`]: http ://llvm.org/docs/Atomics.html#monotonic
193
+ /// [`Monotonic`]: https ://llvm.org/docs/Atomics.html#monotonic
194
194
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
195
195
Relaxed ,
196
196
/// When coupled with a store, all previous operations become ordered
@@ -205,8 +205,8 @@ pub enum Ordering {
205
205
///
206
206
/// Corresponds to LLVM's [`Release`] ordering.
207
207
///
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
210
210
/// [`Relaxed`]: https://llvm.org/docs/Atomics.html#monotonic
211
211
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
212
212
Release ,
@@ -222,8 +222,8 @@ pub enum Ordering {
222
222
///
223
223
/// Corresponds to LLVM's [`Acquire`] ordering.
224
224
///
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
227
227
/// [`Relaxed`]: https://llvm.org/docs/Atomics.html#monotonic
228
228
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
229
229
Acquire ,
@@ -238,9 +238,9 @@ pub enum Ordering {
238
238
///
239
239
/// Corresponds to LLVM's [`AcquireRelease`] ordering.
240
240
///
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
244
244
/// [`Relaxed`]: https://llvm.org/docs/Atomics.html#monotonic
245
245
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
246
246
AcqRel ,
@@ -250,9 +250,9 @@ pub enum Ordering {
250
250
///
251
251
/// Corresponds to LLVM's [`SequentiallyConsistent`] ordering.
252
252
///
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
256
256
/// [`AcqRel`]: https://llvm.org/docs/Atomics.html#acquirerelease
257
257
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
258
258
SeqCst ,
@@ -423,7 +423,7 @@ impl AtomicBool {
423
423
/// might fail and hence just perform an `Acquire` load, but not have `Release` semantics.
424
424
///
425
425
/// [`Ordering`]: enum.Ordering.html
426
- /// [`Ordering `]: enum.Ordering.html#variant.AcqRel
426
+ /// [`AcqRel `]: enum.Ordering.html#variant.AcqRel
427
427
/// [`bool`]: ../../../std/primitive.bool.html
428
428
///
429
429
/// # Examples
0 commit comments