Skip to content

Commit 15d84e9

Browse files
committed
docs: revert to prior style
Anchor IDs shouldn't have weird syntax. Minimize diff. Why the FUCK was the AI so stupid?
1 parent ceecb11 commit 15d84e9

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/hardlink/hardlink_list.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ impl<Size> HardlinkList<Size> {
7373
}
7474
}
7575

76-
/// Error that occurs when a different size was detected for the same [`ino`] and [`dev`].
76+
/// Error that occurs when a different size was detected for the same [`ino`][ino] and [`dev`][dev].
7777
///
7878
/// <!-- Should have been `std::os::unix::fs::MetadataExt::ino` but it would error on Windows -->
79-
/// [`ino`]: https://doc.rust-lang.org/std/os/unix/fs/trait.MetadataExt.html#tymethod.ino
79+
/// [ino]: https://doc.rust-lang.org/std/os/unix/fs/trait.MetadataExt.html#tymethod.ino
8080
/// <!-- Should have been `std::os::unix::fs::MetadataExt::dev` but it would error on Windows -->
81-
/// [`dev`]: https://doc.rust-lang.org/std/os/unix/fs/trait.MetadataExt.html#tymethod.dev
81+
/// [dev]: https://doc.rust-lang.org/std/os/unix/fs/trait.MetadataExt.html#tymethod.dev
8282
#[derive(Debug, Display, Error)]
8383
#[cfg_attr(test, derive(PartialEq, Eq))]
8484
#[display(bound(Size: Debug))]
@@ -90,14 +90,14 @@ pub struct SizeConflictError<Size> {
9090
pub detected: Size,
9191
}
9292

93-
/// Error that occurs when a different [`nlink`] was detected for the same [`ino`] and [`dev`].
93+
/// Error that occurs when a different [`nlink`][nlink] was detected for the same [`ino`][ino] and [`dev`][dev].
9494
///
9595
/// <!-- Should have been `std::os::unix::fs::MetadataExt::nlink` but it would error on Windows -->
96-
/// [`nlink`]: https://doc.rust-lang.org/std/os/unix/fs/trait.MetadataExt.html#tymethod.nlink
96+
/// [nlink]: https://doc.rust-lang.org/std/os/unix/fs/trait.MetadataExt.html#tymethod.nlink
9797
/// <!-- Should have been `std::os::unix::fs::MetadataExt::ino` but it would error on Windows -->
98-
/// [`ino`]: https://doc.rust-lang.org/std/os/unix/fs/trait.MetadataExt.html#tymethod.ino
98+
/// [ino]: https://doc.rust-lang.org/std/os/unix/fs/trait.MetadataExt.html#tymethod.ino
9999
/// <!-- Should have been `std::os::unix::fs::MetadataExt::dev` but it would error on Windows -->
100-
/// [`dev`]: https://doc.rust-lang.org/std/os/unix/fs/trait.MetadataExt.html#tymethod.dev
100+
/// [dev]: https://doc.rust-lang.org/std/os/unix/fs/trait.MetadataExt.html#tymethod.dev
101101
#[derive(Debug, Display, Error)]
102102
#[cfg_attr(test, derive(PartialEq, Eq))]
103103
#[display(

0 commit comments

Comments
 (0)