Skip to content

Commit 94dc226

Browse files
committed
Make function only available in tests
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
1 parent 65acce6 commit 94dc226

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/file_toml.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ struct Settings {
4141
elements: Vec<String>,
4242
}
4343

44+
#[cfg(test)]
4445
fn make() -> Config {
4546
let mut c = Config::default();
4647
c.merge(File::new("tests/Settings", FileFormat::Toml))

0 commit comments

Comments
 (0)