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

macros::{required, optional}: Fix examples spacing

This commit is contained in:
Steffo 2023-05-08 14:31:28 +02:00 committed by GitHub
parent 39cfc5029c
commit e84481ed37
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@
/// ``` /// ```
/// # std::env::set_var("USER", "steffo"); /// # std::env::set_var("USER", "steffo");
/// # std::env::remove_var("USER_FILE"); /// # std::env::remove_var("USER_FILE");
/// /// #
/// micronfig::required!(USER, String); /// micronfig::required!(USER, String);
/// println!("{:?}", *USER); /// println!("{:?}", *USER);
/// ``` /// ```
@ -57,7 +57,7 @@ macro_rules! required {
/// ``` /// ```
/// # std::env::set_var("USER", "steffo"); /// # std::env::set_var("USER", "steffo");
/// # std::env::remove_var("USER_FILE"); /// # std::env::remove_var("USER_FILE");
/// /// #
/// micronfig::optional!(USER, String); /// micronfig::optional!(USER, String);
/// println!("{:?}", *USER); /// println!("{:?}", *USER);
/// ``` /// ```