From ba9136d1c3a16ef9faf0639564322025aa402b1c Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 16 Mar 2023 06:42:31 -0700 Subject: [PATCH] Add doc links to reference to `std` API items. (#300) --- cap-async-std/src/fs/mod.rs | 2 +- cap-async-std/src/lib.rs | 2 +- cap-async-std/src/net/mod.rs | 2 +- cap-async-std/src/time/mod.rs | 2 +- cap-std/src/fs/mod.rs | 2 +- cap-std/src/lib.rs | 2 +- cap-std/src/net/mod.rs | 2 +- cap-std/src/time/mod.rs | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cap-async-std/src/fs/mod.rs b/cap-async-std/src/fs/mod.rs index e7c038b3..1b693128 100644 --- a/cap-async-std/src/fs/mod.rs +++ b/cap-async-std/src/fs/mod.rs @@ -1,4 +1,4 @@ -//! A capability-based filesystem API modeled after `async_std::fs`. +//! A capability-based filesystem API modeled after [`async_std::fs`]. //! //! This corresponds to [`async_std::fs`]. //! diff --git a/cap-async-std/src/lib.rs b/cap-async-std/src/lib.rs index 5a604329..ad53195b 100644 --- a/cap-async-std/src/lib.rs +++ b/cap-async-std/src/lib.rs @@ -1,4 +1,4 @@ -//! A capability-based API modeled after `async_std`. +//! A capability-based API modeled after [`async_std`]. //! //! This corresponds to [`async_std`]. //! diff --git a/cap-async-std/src/net/mod.rs b/cap-async-std/src/net/mod.rs index 7627955c..24b2e5ae 100644 --- a/cap-async-std/src/net/mod.rs +++ b/cap-async-std/src/net/mod.rs @@ -1,4 +1,4 @@ -//! A capability-based network API modeled after `async_std::net`. +//! A capability-based network API modeled after [`async_std::net`]. //! //! This corresponds to [`async_std::net`]. //! diff --git a/cap-async-std/src/time/mod.rs b/cap-async-std/src/time/mod.rs index 37e75c7d..ff5d788d 100644 --- a/cap-async-std/src/time/mod.rs +++ b/cap-async-std/src/time/mod.rs @@ -1,4 +1,4 @@ -//! A capability-based clock API modeled after `std::time`. +//! A capability-based clock API modeled after [`std::time`]. //! //! This corresponds to [`std::time`]. //! diff --git a/cap-std/src/fs/mod.rs b/cap-std/src/fs/mod.rs index 453b682c..94883112 100644 --- a/cap-std/src/fs/mod.rs +++ b/cap-std/src/fs/mod.rs @@ -1,4 +1,4 @@ -//! A capability-based filesystem API modeled after `std::fs`. +//! A capability-based filesystem API modeled after [`std::fs`]. //! //! This corresponds to [`std::fs`]. //! diff --git a/cap-std/src/lib.rs b/cap-std/src/lib.rs index d5996a5a..9723bc1d 100644 --- a/cap-std/src/lib.rs +++ b/cap-std/src/lib.rs @@ -1,4 +1,4 @@ -//! A capability-based API modeled after `std`. +//! A capability-based API modeled after [`std`]. //! //! This corresponds to [`std`]. //! diff --git a/cap-std/src/net/mod.rs b/cap-std/src/net/mod.rs index 4c36cab0..75a5b276 100644 --- a/cap-std/src/net/mod.rs +++ b/cap-std/src/net/mod.rs @@ -1,4 +1,4 @@ -//! A capability-based network API modeled after `std::net`. +//! A capability-based network API modeled after [`std::net`]. //! //! This corresponds to [`std::net`]. //! diff --git a/cap-std/src/time/mod.rs b/cap-std/src/time/mod.rs index 37e75c7d..ff5d788d 100644 --- a/cap-std/src/time/mod.rs +++ b/cap-std/src/time/mod.rs @@ -1,4 +1,4 @@ -//! A capability-based clock API modeled after `std::time`. +//! A capability-based clock API modeled after [`std::time`]. //! //! This corresponds to [`std::time`]. //!