Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 69e5a4c

Browse files
committed
Use intra-doc links for AtomicBool::*
1 parent c159e17 commit 69e5a4c

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

library/core/src/intrinsics.rs

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -280,23 +280,23 @@ extern "rust-intrinsic" {
280280
/// `std::sync::atomic` types via the `load` method by passing
281281
/// [`Ordering::SeqCst`](crate::sync::atomic::Ordering::SeqCst)
282282
/// as the `order`. For example,
283-
/// [`AtomicBool::load`](../../std/sync/atomic/struct.AtomicBool.html#method.load).
283+
/// [`AtomicBool::load`](crate::sync::atomic::AtomicBool::load).
284284
pub fn atomic_load<T: Copy>(src: *const T) -> T;
285285
/// Loads the current value of the pointer.
286286
///
287287
/// The stabilized version of this intrinsic is available on the
288288
/// `std::sync::atomic` types via the `load` method by passing
289289
/// [`Ordering::Acquire`](crate::sync::atomic::Ordering::Acquire)
290290
/// as the `order`. For example,
291-
/// [`AtomicBool::load`](../../std/sync/atomic/struct.AtomicBool.html#method.load).
291+
/// [`AtomicBool::load`](crate::sync::atomic::AtomicBool::load).
292292
pub fn atomic_load_acq<T: Copy>(src: *const T) -> T;
293293
/// Loads the current value of the pointer.
294294
///
295295
/// The stabilized version of this intrinsic is available on the
296296
/// `std::sync::atomic` types via the `load` method by passing
297297
/// [`Ordering::Relaxed`](crate::sync::atomic::Ordering::Relaxed)
298298
/// as the `order`. For example,
299-
/// [`AtomicBool::load`](../../std/sync/atomic/struct.AtomicBool.html#method.load).
299+
/// [`AtomicBool::load`](crate::sync::atomic::AtomicBool::load).
300300
pub fn atomic_load_relaxed<T: Copy>(src: *const T) -> T;
301301
pub fn atomic_load_unordered<T: Copy>(src: *const T) -> T;
302302

@@ -306,23 +306,23 @@ extern "rust-intrinsic" {
306306
/// `std::sync::atomic` types via the `store` method by passing
307307
/// [`Ordering::SeqCst`](crate::sync::atomic::Ordering::SeqCst)
308308
/// as the `order`. For example,
309-
/// [`AtomicBool::store`](../../std/sync/atomic/struct.AtomicBool.html#method.store).
309+
/// [`AtomicBool::store`](crate::sync::atomic::AtomicBool::store).
310310
pub fn atomic_store<T: Copy>(dst: *mut T, val: T);
311311
/// Stores the value at the specified memory location.
312312
///
313313
/// The stabilized version of this intrinsic is available on the
314314
/// `std::sync::atomic` types via the `store` method by passing
315315
/// [`Ordering::Release`](crate::sync::atomic::Ordering::Release)
316316
/// as the `order`. For example,
317-
/// [`AtomicBool::store`](../../std/sync/atomic/struct.AtomicBool.html#method.store).
317+
/// [`AtomicBool::store`](crate::sync::atomic::AtomicBool::store).
318318
pub fn atomic_store_rel<T: Copy>(dst: *mut T, val: T);
319319
/// Stores the value at the specified memory location.
320320
///
321321
/// The stabilized version of this intrinsic is available on the
322322
/// `std::sync::atomic` types via the `store` method by passing
323323
/// [`Ordering::Relaxed`](crate::sync::atomic::Ordering::Relaxed)
324324
/// as the `order`. For example,
325-
/// [`AtomicBool::store`](../../std/sync/atomic/struct.AtomicBool.html#method.store).
325+
/// [`AtomicBool::store`](crate::sync::atomic::AtomicBool::store).
326326
pub fn atomic_store_relaxed<T: Copy>(dst: *mut T, val: T);
327327
pub fn atomic_store_unordered<T: Copy>(dst: *mut T, val: T);
328328

@@ -332,39 +332,39 @@ extern "rust-intrinsic" {
332332
/// `std::sync::atomic` types via the `swap` method by passing
333333
/// [`Ordering::SeqCst`](crate::sync::atomic::Ordering::SeqCst)
334334
/// as the `order`. For example,
335-
/// [`AtomicBool::swap`](../../std/sync/atomic/struct.AtomicBool.html#method.swap).
335+
/// [`AtomicBool::swap`](crate::sync::atomic::AtomicBool::swap).
336336
pub fn atomic_xchg<T: Copy>(dst: *mut T, src: T) -> T;
337337
/// Stores the value at the specified memory location, returning the old value.
338338
///
339339
/// The stabilized version of this intrinsic is available on the
340340
/// `std::sync::atomic` types via the `swap` method by passing
341341
/// [`Ordering::Acquire`](crate::sync::atomic::Ordering::Acquire)
342342
/// as the `order`. For example,
343-
/// [`AtomicBool::swap`](../../std/sync/atomic/struct.AtomicBool.html#method.swap).
343+
/// [`AtomicBool::swap`](crate::sync::atomic::AtomicBool::swap).
344344
pub fn atomic_xchg_acq<T: Copy>(dst: *mut T, src: T) -> T;
345345
/// Stores the value at the specified memory location, returning the old value.
346346
///
347347
/// The stabilized version of this intrinsic is available on the
348348
/// `std::sync::atomic` types via the `swap` method by passing
349349
/// [`Ordering::Release`](crate::sync::atomic::Ordering::Release)
350350
/// as the `order`. For example,
351-
/// [`AtomicBool::swap`](../../std/sync/atomic/struct.AtomicBool.html#method.swap).
351+
/// [`AtomicBool::swap`](crate::sync::atomic::AtomicBool::swap).
352352
pub fn atomic_xchg_rel<T: Copy>(dst: *mut T, src: T) -> T;
353353
/// Stores the value at the specified memory location, returning the old value.
354354
///
355355
/// The stabilized version of this intrinsic is available on the
356356
/// `std::sync::atomic` types via the `swap` method by passing
357357
/// [`Ordering::AcqRel`](crate::sync::atomic::Ordering::AcqRel)
358358
/// as the `order`. For example,
359-
/// [`AtomicBool::swap`](../../std/sync/atomic/struct.AtomicBool.html#method.swap).
359+
/// [`AtomicBool::swap`](crate::sync::atomic::AtomicBool::swap).
360360
pub fn atomic_xchg_acqrel<T: Copy>(dst: *mut T, src: T) -> T;
361361
/// Stores the value at the specified memory location, returning the old value.
362362
///
363363
/// The stabilized version of this intrinsic is available on the
364364
/// `std::sync::atomic` types via the `swap` method by passing
365365
/// [`Ordering::Relaxed`](crate::sync::atomic::Ordering::Relaxed)
366366
/// as the `order`. For example,
367-
/// [`AtomicBool::swap`](../../std/sync/atomic/struct.AtomicBool.html#method.swap).
367+
/// [`AtomicBool::swap`](crate::sync::atomic::AtomicBool::swap).
368368
pub fn atomic_xchg_relaxed<T: Copy>(dst: *mut T, src: T) -> T;
369369

370370
/// Adds to the current value, returning the previous value.
@@ -455,39 +455,39 @@ extern "rust-intrinsic" {
455455
/// `std::sync::atomic` types via the `fetch_and` method by passing
456456
/// [`Ordering::SeqCst`](crate::sync::atomic::Ordering::SeqCst)
457457
/// as the `order`. For example,
458-
/// [`AtomicBool::fetch_and`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_and).
458+
/// [`AtomicBool::fetch_and`](crate::sync::atomic::AtomicBool::fetch_and).
459459
pub fn atomic_and<T: Copy>(dst: *mut T, src: T) -> T;
460460
/// Bitwise and with the current value, returning the previous value.
461461
///
462462
/// The stabilized version of this intrinsic is available on the
463463
/// `std::sync::atomic` types via the `fetch_and` method by passing
464464
/// [`Ordering::Acquire`](crate::sync::atomic::Ordering::Acquire)
465465
/// as the `order`. For example,
466-
/// [`AtomicBool::fetch_and`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_and).
466+
/// [`AtomicBool::fetch_and`](crate::sync::atomic::AtomicBool::fetch_and).
467467
pub fn atomic_and_acq<T: Copy>(dst: *mut T, src: T) -> T;
468468
/// Bitwise and with the current value, returning the previous value.
469469
///
470470
/// The stabilized version of this intrinsic is available on the
471471
/// `std::sync::atomic` types via the `fetch_and` method by passing
472472
/// [`Ordering::Release`](crate::sync::atomic::Ordering::Release)
473473
/// as the `order`. For example,
474-
/// [`AtomicBool::fetch_and`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_and).
474+
/// [`AtomicBool::fetch_and`](crate::sync::atomic::AtomicBool::fetch_and).
475475
pub fn atomic_and_rel<T: Copy>(dst: *mut T, src: T) -> T;
476476
/// Bitwise and with the current value, returning the previous value.
477477
///
478478
/// The stabilized version of this intrinsic is available on the
479479
/// `std::sync::atomic` types via the `fetch_and` method by passing
480480
/// [`Ordering::AcqRel`](crate::sync::atomic::Ordering::AcqRel)
481481
/// as the `order`. For example,
482-
/// [`AtomicBool::fetch_and`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_and).
482+
/// [`AtomicBool::fetch_and`](crate::sync::atomic::AtomicBool::fetch_and).
483483
pub fn atomic_and_acqrel<T: Copy>(dst: *mut T, src: T) -> T;
484484
/// Bitwise and with the current value, returning the previous value.
485485
///
486486
/// The stabilized version of this intrinsic is available on the
487487
/// `std::sync::atomic` types via the `fetch_and` method by passing
488488
/// [`Ordering::Relaxed`](crate::sync::atomic::Ordering::Relaxed)
489489
/// as the `order`. For example,
490-
/// [`AtomicBool::fetch_and`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_and).
490+
/// [`AtomicBool::fetch_and`](crate::sync::atomic::AtomicBool::fetch_and).
491491
pub fn atomic_and_relaxed<T: Copy>(dst: *mut T, src: T) -> T;
492492

493493
/// Bitwise nand with the current value, returning the previous value.
@@ -496,39 +496,39 @@ extern "rust-intrinsic" {
496496
/// `std::sync::atomic::AtomicBool` type via the `fetch_nand` method by passing
497497
/// [`Ordering::SeqCst`](crate::sync::atomic::Ordering::SeqCst)
498498
/// as the `order`. For example,
499-
/// [`AtomicBool::fetch_nand`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_nand).
499+
/// [`AtomicBool::fetch_nand`](crate::sync::atomic::AtomicBool::fetch_nand).
500500
pub fn atomic_nand<T: Copy>(dst: *mut T, src: T) -> T;
501501
/// Bitwise nand with the current value, returning the previous value.
502502
///
503503
/// The stabilized version of this intrinsic is available on the
504504
/// `std::sync::atomic::AtomicBool` type via the `fetch_nand` method by passing
505505
/// [`Ordering::Acquire`](crate::sync::atomic::Ordering::Acquire)
506506
/// as the `order`. For example,
507-
/// [`AtomicBool::fetch_nand`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_nand).
507+
/// [`AtomicBool::fetch_nand`](crate::sync::atomic::AtomicBool::fetch_nand).
508508
pub fn atomic_nand_acq<T: Copy>(dst: *mut T, src: T) -> T;
509509
/// Bitwise nand with the current value, returning the previous value.
510510
///
511511
/// The stabilized version of this intrinsic is available on the
512512
/// `std::sync::atomic::AtomicBool` type via the `fetch_nand` method by passing
513513
/// [`Ordering::Release`](crate::sync::atomic::Ordering::Release)
514514
/// as the `order`. For example,
515-
/// [`AtomicBool::fetch_nand`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_nand).
515+
/// [`AtomicBool::fetch_nand`](crate::sync::atomic::AtomicBool::fetch_nand).
516516
pub fn atomic_nand_rel<T: Copy>(dst: *mut T, src: T) -> T;
517517
/// Bitwise nand with the current value, returning the previous value.
518518
///
519519
/// The stabilized version of this intrinsic is available on the
520520
/// `std::sync::atomic::AtomicBool` type via the `fetch_nand` method by passing
521521
/// [`Ordering::AcqRel`](crate::sync::atomic::Ordering::AcqRel)
522522
/// as the `order`. For example,
523-
/// [`AtomicBool::fetch_nand`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_nand).
523+
/// [`AtomicBool::fetch_nand`](crate::sync::atomic::AtomicBool::fetch_nand).
524524
pub fn atomic_nand_acqrel<T: Copy>(dst: *mut T, src: T) -> T;
525525
/// Bitwise nand with the current value, returning the previous value.
526526
///
527527
/// The stabilized version of this intrinsic is available on the
528528
/// `std::sync::atomic::AtomicBool` type via the `fetch_nand` method by passing
529529
/// [`Ordering::Relaxed`](crate::sync::atomic::Ordering::Relaxed)
530530
/// as the `order`. For example,
531-
/// [`AtomicBool::fetch_nand`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_nand).
531+
/// [`AtomicBool::fetch_nand`](crate::sync::atomic::AtomicBool::fetch_nand).
532532
pub fn atomic_nand_relaxed<T: Copy>(dst: *mut T, src: T) -> T;
533533

534534
/// Bitwise or with the current value, returning the previous value.
@@ -537,39 +537,39 @@ extern "rust-intrinsic" {
537537
/// `std::sync::atomic` types via the `fetch_or` method by passing
538538
/// [`Ordering::SeqCst`](crate::sync::atomic::Ordering::SeqCst)
539539
/// as the `order`. For example,
540-
/// [`AtomicBool::fetch_or`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_or).
540+
/// [`AtomicBool::fetch_or`](crate::sync::atomic::AtomicBool::fetch_or).
541541
pub fn atomic_or<T: Copy>(dst: *mut T, src: T) -> T;
542542
/// Bitwise or with the current value, returning the previous value.
543543
///
544544
/// The stabilized version of this intrinsic is available on the
545545
/// `std::sync::atomic` types via the `fetch_or` method by passing
546546
/// [`Ordering::Acquire`](crate::sync::atomic::Ordering::Acquire)
547547
/// as the `order`. For example,
548-
/// [`AtomicBool::fetch_or`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_or).
548+
/// [`AtomicBool::fetch_or`](crate::sync::atomic::AtomicBool::fetch_or).
549549
pub fn atomic_or_acq<T: Copy>(dst: *mut T, src: T) -> T;
550550
/// Bitwise or with the current value, returning the previous value.
551551
///
552552
/// The stabilized version of this intrinsic is available on the
553553
/// `std::sync::atomic` types via the `fetch_or` method by passing
554554
/// [`Ordering::Release`](crate::sync::atomic::Ordering::Release)
555555
/// as the `order`. For example,
556-
/// [`AtomicBool::fetch_or`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_or).
556+
/// [`AtomicBool::fetch_or`](crate::sync::atomic::AtomicBool::fetch_or).
557557
pub fn atomic_or_rel<T: Copy>(dst: *mut T, src: T) -> T;
558558
/// Bitwise or with the current value, returning the previous value.
559559
///
560560
/// The stabilized version of this intrinsic is available on the
561561
/// `std::sync::atomic` types via the `fetch_or` method by passing
562562
/// [`Ordering::AcqRel`](crate::sync::atomic::Ordering::AcqRel)
563563
/// as the `order`. For example,
564-
/// [`AtomicBool::fetch_or`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_or).
564+
/// [`AtomicBool::fetch_or`](crate::sync::atomic::AtomicBool::fetch_or).
565565
pub fn atomic_or_acqrel<T: Copy>(dst: *mut T, src: T) -> T;
566566
/// Bitwise or with the current value, returning the previous value.
567567
///
568568
/// The stabilized version of this intrinsic is available on the
569569
/// `std::sync::atomic` types via the `fetch_or` method by passing
570570
/// [`Ordering::Relaxed`](crate::sync::atomic::Ordering::Relaxed)
571571
/// as the `order`. For example,
572-
/// [`AtomicBool::fetch_or`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_or).
572+
/// [`AtomicBool::fetch_or`](crate::sync::atomic::AtomicBool::fetch_or).
573573
pub fn atomic_or_relaxed<T: Copy>(dst: *mut T, src: T) -> T;
574574

575575
/// Bitwise xor with the current value, returning the previous value.
@@ -578,39 +578,39 @@ extern "rust-intrinsic" {
578578
/// `std::sync::atomic` types via the `fetch_xor` method by passing
579579
/// [`Ordering::SeqCst`](crate::sync::atomic::Ordering::SeqCst)
580580
/// as the `order`. For example,
581-
/// [`AtomicBool::fetch_xor`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_xor).
581+
/// [`AtomicBool::fetch_xor`](crate::sync::atomic::AtomicBool::fetch_xor).
582582
pub fn atomic_xor<T: Copy>(dst: *mut T, src: T) -> T;
583583
/// Bitwise xor with the current value, returning the previous value.
584584
///
585585
/// The stabilized version of this intrinsic is available on the
586586
/// `std::sync::atomic` types via the `fetch_xor` method by passing
587587
/// [`Ordering::Acquire`](crate::sync::atomic::Ordering::Acquire)
588588
/// as the `order`. For example,
589-
/// [`AtomicBool::fetch_xor`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_xor).
589+
/// [`AtomicBool::fetch_xor`](crate::sync::atomic::AtomicBool::fetch_xor).
590590
pub fn atomic_xor_acq<T: Copy>(dst: *mut T, src: T) -> T;
591591
/// Bitwise xor with the current value, returning the previous value.
592592
///
593593
/// The stabilized version of this intrinsic is available on the
594594
/// `std::sync::atomic` types via the `fetch_xor` method by passing
595595
/// [`Ordering::Release`](crate::sync::atomic::Ordering::Release)
596596
/// as the `order`. For example,
597-
/// [`AtomicBool::fetch_xor`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_xor).
597+
/// [`AtomicBool::fetch_xor`](crate::sync::atomic::AtomicBool::fetch_xor).
598598
pub fn atomic_xor_rel<T: Copy>(dst: *mut T, src: T) -> T;
599599
/// Bitwise xor with the current value, returning the previous value.
600600
///
601601
/// The stabilized version of this intrinsic is available on the
602602
/// `std::sync::atomic` types via the `fetch_xor` method by passing
603603
/// [`Ordering::AcqRel`](crate::sync::atomic::Ordering::AcqRel)
604604
/// as the `order`. For example,
605-
/// [`AtomicBool::fetch_xor`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_xor).
605+
/// [`AtomicBool::fetch_xor`](crate::sync::atomic::AtomicBool::fetch_xor).
606606
pub fn atomic_xor_acqrel<T: Copy>(dst: *mut T, src: T) -> T;
607607
/// Bitwise xor with the current value, returning the previous value.
608608
///
609609
/// The stabilized version of this intrinsic is available on the
610610
/// `std::sync::atomic` types via the `fetch_xor` method by passing
611611
/// [`Ordering::Relaxed`](crate::sync::atomic::Ordering::Relaxed)
612612
/// as the `order`. For example,
613-
/// [`AtomicBool::fetch_xor`](../../std/sync/atomic/struct.AtomicBool.html#method.fetch_xor).
613+
/// [`AtomicBool::fetch_xor`](crate::sync::atomic::AtomicBool::fetch_xor).
614614
pub fn atomic_xor_relaxed<T: Copy>(dst: *mut T, src: T) -> T;
615615

616616
/// Maximum with the current value using a signed comparison.

0 commit comments

Comments
 (0)