blob: 7666f8ab63980bc74129adb337cd9adf55f51a7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
use source::Source;
use value::Value;
// Nil source that does nothing for optional files
pub struct Nil {}
impl Source for Nil {
fn get(&self, _: &str) -> Option<Value> {
None
}
}
|