diff options
Diffstat (limited to 'src/bin/roadmap2dot.rs')
-rw-r--r-- | src/bin/roadmap2dot.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/roadmap2dot.rs b/src/bin/roadmap2dot.rs index e361efb..64b55d1 100644 --- a/src/bin/roadmap2dot.rs +++ b/src/bin/roadmap2dot.rs @@ -11,7 +11,7 @@ //! test the library crate. It is expected that serious use of the //! crate will be as a library. -use roadmap::Roadmap; +use roadmap::from_yaml; use std::fs::File; use std::io::Read; use std::path::PathBuf; @@ -36,7 +36,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { let mut f = File::open(opt.filename)?; f.read_to_string(&mut text)?; - let mut r = Roadmap::from_yaml(&text)?; + let mut r = from_yaml(&text)?; r.set_missing_statuses(); println!("{}", r.as_dot(LABEL_WIDTH).unwrap()); |