1
Fork 0
mirror of https://github.com/Steffo99/micronfig.git synced 2024-10-16 14:37:29 +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
No known key found for this signature in database
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);
/// ``` /// ```