diff options
author | Ryan Leckey <leckey.ryan@gmail.com> | 2017-03-08 11:09:37 -0800 |
---|---|---|
committer | Ryan Leckey <leckey.ryan@gmail.com> | 2017-03-08 11:09:37 -0800 |
commit | 2dc6a74b84825f65142c1fa7d3e67cd4f35ee3cb (patch) | |
tree | 23b21f732efbb215498db6debf6dbaee3af7e94f /src/file/nil.rs | |
parent | c9ee1568fe212e4c352ec1afc52db44b34348fcd (diff) |
Initial work on deep serde integration
Diffstat (limited to 'src/file/nil.rs')
-rw-r--r-- | src/file/nil.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/file/nil.rs b/src/file/nil.rs deleted file mode 100644 index f6d801a..0000000 --- a/src/file/nil.rs +++ /dev/null @@ -1,13 +0,0 @@ -use std::collections::HashMap; - -use source::Source; -use value::Value; - -// Nil source that does nothing to easily allow for optional files -pub struct Nil {} - -impl Source for Nil { - fn collect(&self) -> HashMap<String, Value> { - HashMap::new() - } -} |