mirror of
https://github.com/Steffo99/micronfig.git
synced 2024-11-24 00:54:19 +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::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);
|
||||||
/// ```
|
/// ```
|
||||||
|
|
Loading…
Reference in a new issue