Skip to content

Commit 98762fe

Browse files
committed
Fix broken doc links
This is a point in favor of landing #1021
1 parent 7f2d45d commit 98762fe

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

src/lib.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,7 @@ pub unsafe trait TryFromBytes {
13571357
///
13581358
/// `Self` may be a sized type, a slice, or a [slice DST][slice-dst].
13591359
///
1360-
/// [valid-size]: crate#what-is-a-valid-size
1360+
/// [valid-size]: crate::KnownLayout#what-is-a-valid-size
13611361
/// [self-unaligned]: Unaligned
13621362
/// [slice-dst]: KnownLayout#dynamically-sized-types
13631363
///
@@ -1459,7 +1459,7 @@ pub unsafe trait TryFromBytes {
14591459
///
14601460
/// `Self` may be a sized type, a slice, or a [slice DST][slice-dst].
14611461
///
1462-
/// [valid-size]: crate#what-is-a-valid-size
1462+
/// [valid-size]: crate::KnownLayout#what-is-a-valid-size
14631463
/// [self-unaligned]: Unaligned
14641464
/// [slice-dst]: KnownLayout#dynamically-sized-types
14651465
///
@@ -1545,7 +1545,7 @@ pub unsafe trait TryFromBytes {
15451545
///
15461546
/// `Self` may be a sized type, a slice, or a [slice DST][slice-dst].
15471547
///
1548-
/// [valid-size]: crate#what-is-a-valid-size
1548+
/// [valid-size]: crate::KnownLayout#what-is-a-valid-size
15491549
/// [self-unaligned]: Unaligned
15501550
/// [slice-dst]: KnownLayout#dynamically-sized-types
15511551
///
@@ -1631,7 +1631,7 @@ pub unsafe trait TryFromBytes {
16311631
///
16321632
/// `Self` may be a sized type, a slice, or a [slice DST][slice-dst].
16331633
///
1634-
/// [valid-size]: crate#what-is-a-valid-size
1634+
/// [valid-size]: crate::KnownLayout#what-is-a-valid-size
16351635
/// [self-unaligned]: Unaligned
16361636
/// [slice-dst]: KnownLayout#dynamically-sized-types
16371637
///
@@ -1739,7 +1739,7 @@ pub unsafe trait TryFromBytes {
17391739
///
17401740
/// `Self` may be a sized type, a slice, or a [slice DST][slice-dst].
17411741
///
1742-
/// [valid-size]: crate#what-is-a-valid-size
1742+
/// [valid-size]: crate::KnownLayout#what-is-a-valid-size
17431743
/// [self-unaligned]: Unaligned
17441744
/// [slice-dst]: KnownLayout#dynamically-sized-types
17451745
///
@@ -1834,7 +1834,7 @@ pub unsafe trait TryFromBytes {
18341834
///
18351835
/// `Self` may be a sized type, a slice, or a [slice DST][slice-dst].
18361836
///
1837-
/// [valid-size]: crate#what-is-a-valid-size
1837+
/// [valid-size]: crate::KnownLayout#what-is-a-valid-size
18381838
/// [self-unaligned]: Unaligned
18391839
/// [slice-dst]: KnownLayout#dynamically-sized-types
18401840
///
@@ -3444,7 +3444,7 @@ pub unsafe trait FromBytes: FromZeros {
34443444
///
34453445
/// `Self` may be a sized type, a slice, or a [slice DST][slice-dst].
34463446
///
3447-
/// [valid-size]: crate#what-is-a-valid-size
3447+
/// [valid-size]: crate::KnownLayout#what-is-a-valid-size
34483448
/// [self-unaligned]: Unaligned
34493449
/// [size-error-from]: error/struct.SizeError.html#method.from-1
34503450
/// [slice-dst]: KnownLayout#dynamically-sized-types
@@ -3528,7 +3528,7 @@ pub unsafe trait FromBytes: FromZeros {
35283528
///
35293529
/// `Self` may be a sized type, a slice, or a [slice DST][slice-dst].
35303530
///
3531-
/// [valid-size]: crate#what-is-a-valid-size
3531+
/// [valid-size]: crate::KnownLayout#what-is-a-valid-size
35323532
/// [self-unaligned]: Unaligned
35333533
/// [size-error-from]: error/struct.SizeError.html#method.from-1
35343534
/// [slice-dst]: KnownLayout#dynamically-sized-types
@@ -3612,7 +3612,7 @@ pub unsafe trait FromBytes: FromZeros {
36123612
///
36133613
/// `Self` may be a sized type, a slice, or a [slice DST][slice-dst].
36143614
///
3615-
/// [valid-size]: crate#what-is-a-valid-size
3615+
/// [valid-size]: crate::KnownLayout#what-is-a-valid-size
36163616
/// [self-unaligned]: Unaligned
36173617
/// [size-error-from]: error/struct.SizeError.html#method.from-1
36183618
/// [slice-dst]: KnownLayout#dynamically-sized-types
@@ -3680,7 +3680,7 @@ pub unsafe trait FromBytes: FromZeros {
36803680
///
36813681
/// `Self` may be a sized type, a slice, or a [slice DST][slice-dst].
36823682
///
3683-
/// [valid-size]: crate#what-is-a-valid-size
3683+
/// [valid-size]: crate::KnownLayout#what-is-a-valid-size
36843684
/// [self-unaligned]: Unaligned
36853685
/// [size-error-from]: error/struct.SizeError.html#method.from-1
36863686
/// [slice-dst]: KnownLayout#dynamically-sized-types
@@ -3764,7 +3764,7 @@ pub unsafe trait FromBytes: FromZeros {
37643764
///
37653765
/// `Self` may be a sized type, a slice, or a [slice DST][slice-dst].
37663766
///
3767-
/// [valid-size]: crate#what-is-a-valid-size
3767+
/// [valid-size]: crate::KnownLayout#what-is-a-valid-size
37683768
/// [self-unaligned]: Unaligned
37693769
/// [size-error-from]: error/struct.SizeError.html#method.from-1
37703770
/// [slice-dst]: KnownLayout#dynamically-sized-types
@@ -3849,7 +3849,7 @@ pub unsafe trait FromBytes: FromZeros {
38493849
///
38503850
/// `Self` may be a sized type, a slice, or a [slice DST][slice-dst].
38513851
///
3852-
/// [valid-size]: crate#what-is-a-valid-size
3852+
/// [valid-size]: crate::KnownLayout#what-is-a-valid-size
38533853
/// [self-unaligned]: Unaligned
38543854
/// [size-error-from]: error/struct.SizeError.html#method.from-1
38553855
/// [slice-dst]: KnownLayout#dynamically-sized-types

src/ref.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ where
271271
///
272272
/// `T` may be a sized type, a slice, or a [slice DST][slice-dst].
273273
///
274-
/// [valid-size]: crate#what-is-a-valid-size
274+
/// [valid-size]: crate::KnownLayout#what-is-a-valid-size
275275
/// [t-unaligned]: Unaligned
276276
/// [size-error-from]: error/struct.SizeError.html#method.from-1
277277
/// [slice-dst]: KnownLayout#dynamically-sized-types
@@ -325,7 +325,7 @@ where
325325
///
326326
/// `T` may be a sized type, a slice, or a [slice DST][slice-dst].
327327
///
328-
/// [valid-size]: crate#what-is-a-valid-size
328+
/// [valid-size]: crate::KnownLayout#what-is-a-valid-size
329329
/// [t-unaligned]: Unaligned
330330
/// [size-error-from]: error/struct.SizeError.html#method.from-1
331331
/// [slice-dst]: KnownLayout#dynamically-sized-types
@@ -390,7 +390,7 @@ where
390390
///
391391
/// `T` may be a sized type, a slice, or a [slice DST][slice-dst].
392392
///
393-
/// [valid-size]: crate#what-is-a-valid-size
393+
/// [valid-size]: crate::KnownLayout#what-is-a-valid-size
394394
/// [t-unaligned]: Unaligned
395395
/// [size-error-from]: error/struct.SizeError.html#method.from-1
396396
/// [slice-dst]: KnownLayout#dynamically-sized-types

0 commit comments

Comments
 (0)