1
Fork 0
mirror of https://github.com/Steffo99/micronfig.git synced 2024-11-27 18:34:23 +00:00

Fix broken doc links

This commit is contained in:
Steffo 2023-04-29 02:17:23 +02:00
parent 5745df2072
commit 6bede04d0e
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -29,13 +29,13 @@
//! //!
//! If no value is found, or if an error occurred while trying to retrieve it, the function panics with a human-readable error message. //! If no value is found, or if an error occurred while trying to retrieve it, the function panics with a human-readable error message.
//! //!
//! Additionally, they try to parse the value into the requested Rust type using its [`FromStr`] trait. //! Additionally, they try to parse the value into the requested Rust type using its [`std::str::FromStr`] trait.
//! //!
//! If the conversion fails, the function panics, again providing a human-readable error message. //! If the conversion fails, the function panics, again providing a human-readable error message.
//! //!
//! ### Examples //! ### Examples
//! //!
//! To require a `IP_ADDRESS` property to be configured, and to parse it as an [`IpAddr`], you may write the following code: //! To require a `IP_ADDRESS` property to be configured, and to parse it as an [`std::net::IpAddr`], you may write the following code:
//! //!
//! ``` //! ```
//! use std::net::IpAddr; //! use std::net::IpAddr;