diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-10-03 12:38:24 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-10-03 12:38:24 +0300 |
commit | 19773a0959364ef7c54f14049c07b030c443cd1a (patch) | |
tree | e79b7492c5154243a20eb7723d5d00f5a01544e7 /src/lib.rs | |
parent | 972acf21ecbaec19c9280a5dcd33b3cbc27174fb (diff) | |
download | roadmap-19773a0959364ef7c54f14049c07b030c443cd1a.tar.gz |
Change: Roadmap.step_names to return an iterator
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ //! label: The first step //! ").unwrap(); //! -//! let n = r.step_names(); +//! let n: Vec<&str> = r.step_names().collect(); //! assert_eq!(n.len(), 2); //! assert!(n.contains(&"first")); //! assert!(n.contains(&"endgoal")); |