Skip to content

Commit

Permalink
Mirror PR 343 changes from readme to rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Apr 10, 2024
1 parent cb47d7c commit e77374f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Expand Up @@ -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 {}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e77374f

Please sign in to comment.