mirror of
https://github.com/Steffo99/micronfig.git
synced 2024-11-23 16:44:18 +00:00
macros::{required, optional}
: Fix examples spacing
This commit is contained in:
parent
39cfc5029c
commit
e84481ed37
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
|||
/// ```
|
||||
/// # std::env::set_var("USER", "steffo");
|
||||
/// # std::env::remove_var("USER_FILE");
|
||||
///
|
||||
/// #
|
||||
/// micronfig::required!(USER, String);
|
||||
/// println!("{:?}", *USER);
|
||||
/// ```
|
||||
|
@ -57,7 +57,7 @@ macro_rules! required {
|
|||
/// ```
|
||||
/// # std::env::set_var("USER", "steffo");
|
||||
/// # std::env::remove_var("USER_FILE");
|
||||
///
|
||||
/// #
|
||||
/// micronfig::optional!(USER, String);
|
||||
/// println!("{:?}", *USER);
|
||||
/// ```
|
||||
|
|
Loading…
Reference in a new issue