Skip to content

Commit 9fb518f

Browse files
committed
docs: document skip
1 parent 62f540a commit 9fb518f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

from-env-derive/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ pub fn derive(input: Ts) -> Ts {
6161
tuple_like,
6262
};
6363

64-
eprintln!("{}", input.expand_mod());
65-
6664
input.expand_mod().into()
6765
}
6866

src/utils/from_env.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ use std::{convert::Infallible, env::VarError, num::ParseIntError, str::FromStr};
1717
/// The macro supports the following attributes:
1818
/// - `var = ""`: The name of the environment variable. This is required if the
1919
/// prop implements [`FromEnvVar`].
20-
/// - `desc`: A description of the environment variable. This is required if
21-
/// the prop implements [`FromEnvVar`].
20+
/// - `desc = ""`: A description of the environment variable. This is required
21+
/// if the prop implements [`FromEnvVar`].
2222
/// - `optional`: Marks the prop as optional. This is currently only used in the
23-
/// `fn inventory` function, and is informational.
23+
/// generated `fn inventory`, and is informational.
2424
/// - `infallible`: Marks the prop as infallible. This means that the prop
2525
/// cannot fail to be parsed after the environment variable is loaded.
2626
/// - `skip`: Marks the prop as skipped. This means that the prop will not be

0 commit comments

Comments
 (0)