about summary refs log tree commit diff
path: root/library/std/src/os/windows/ffi.rs
diff options
context:
space:
mode:
authorSachin Cherian <sachinctl@protonmail.com>2021-09-17 23:23:21 +0530
committerSachin Cherian <sachinctl@protonmail.com>2021-09-17 23:23:21 +0530
commitec34aa61d6947f6bee11f13a8d0a11e61cf65b67 (patch)
tree0a138d282edb72c709a4028db839d6cc63f0bf24 /library/std/src/os/windows/ffi.rs
parentc3c0f80d6081092faff801542dd82f0e2420152b (diff)
downloadrust-ec34aa61d6947f6bee11f13a8d0a11e61cf65b67.tar.gz
rust-ec34aa61d6947f6bee11f13a8d0a11e61cf65b67.zip
modify std::os docs to be more consistent
> add intra doc links
> add a usage example for the os::windows module
Diffstat (limited to 'library/std/src/os/windows/ffi.rs')
-rw-r--r--library/std/src/os/windows/ffi.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/std/src/os/windows/ffi.rs b/library/std/src/os/windows/ffi.rs
index 8d29fa7d66f..a9493a94cac 100644
--- a/library/std/src/os/windows/ffi.rs
+++ b/library/std/src/os/windows/ffi.rs
@@ -1,4 +1,4 @@
-//! Windows-specific extensions to the primitives in the `std::ffi` module.
+//! Windows-specific extensions to primitives in the [`std::ffi`] module.
 //!
 //! # Overview
 //!
@@ -49,6 +49,7 @@
 //! [ill-formed-utf-16]: https://simonsapin.github.io/wtf-8/#ill-formed-utf-16
 //! [`collect`]: crate::iter::Iterator::collect
 //! [U+FFFD]: crate::char::REPLACEMENT_CHARACTER
+//! [`std::ffi`]: crate::ffi
 
 #![stable(feature = "rust1", since = "1.0.0")]