Skip to content

Commit 9c2a865

Browse files
Merge pull request #4 from ia0/fix_typo
Remove dead code in documentation
2 parents 6bc911a + c6c16c8 commit 9c2a865

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,6 @@ impl<Tuple: Ord> Variable<Tuple> {
262262
/// let variable = iteration.variable::<(usize, usize)>("source");
263263
/// variable.insert(Relation::from((0 .. 10).map(|x| (x, x))));
264264
///
265-
/// let relation = Relation::from((0 .. 10).filter(|x| x % 3 == 0));
266-
///
267265
/// while iteration.changed() {
268266
/// variable.from_map(&variable, |&(key, val)|
269267
/// if val % 2 == 0 {
@@ -394,4 +392,4 @@ impl<Tuple: Ord> VariableTrait for Variable<Tuple> {
394392
// }
395393
// println!("FINAL: {:?}\t{:?}", self.name, total);
396394
// }
397-
// }
395+
// }

0 commit comments

Comments
 (0)