summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-10-03 12:38:24 +0300
committerLars Wirzenius <liw@liw.fi>2019-10-03 12:38:24 +0300
commit19773a0959364ef7c54f14049c07b030c443cd1a (patch)
treee79b7492c5154243a20eb7723d5d00f5a01544e7 /src/lib.rs
parent972acf21ecbaec19c9280a5dcd33b3cbc27174fb (diff)
downloadroadmap-19773a0959364ef7c54f14049c07b030c443cd1a.tar.gz
Change: Roadmap.step_names to return an iterator
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index c13943d..4eb712a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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"));