From e77374f1edff6f133e912400bbafa09dc7c64db4 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 9 Apr 2024 21:14:51 -0700 Subject: [PATCH] Mirror PR 343 changes from readme to rustdoc --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 79cfdb6..6b8083c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,7 +17,7 @@ //! the return type of any fallible function. //! //! Within the function, use `?` to easily propagate any error that implements -//! the `std::error::Error` trait. +//! the [`std::error::Error`] trait. //! //! ``` //! # pub trait Deserialize {} @@ -192,8 +192,8 @@ //! //! # No-std support //! -//! In no_std mode, the same API is almost all available and works the same way. -//! To depend on Anyhow in no_std mode, disable our default enabled "std" +//! In no_std mode, almost all of the same API is available and works the same +//! way. To depend on Anyhow in no_std mode, disable our default enabled "std" //! feature in Cargo.toml. A global allocator is required. //! //! ```toml