diff options
Diffstat (limited to 'example/src/main.rs')
-rw-r--r-- | example/src/main.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/example/src/main.rs b/example/src/main.rs index 9ca782c..e1a4931 100644 --- a/example/src/main.rs +++ b/example/src/main.rs @@ -4,7 +4,10 @@ extern crate phf; include!(concat!(env!("OUT_DIR"), "/data.rs")); fn main() { - println!("{:?}", FILES.get("data/foo")) + println!("{:?}", FILES.get("data/foo")); + for name in FILES.file_names() { + println!("Found: {}", name); + } // for (k, v) in FILES.entries() { // println!("{}: {} bytes", k, v.len()); // } |