Skip to content

Commit abc17ce

Browse files
committed
---
yaml --- r: 213247 b: refs/heads/try c: 37dd417 h: refs/heads/master i: 213245: 0777fca 213243: 23b9460 213239: e1d4854 213231: da1faec 213215: ce5b121 213183: 399a03a 213119: f748d94 212991: 2409d14 v: v3
1 parent fe3aa84 commit abc17ce

File tree

3 files changed

+156
-257
lines changed

3 files changed

+156
-257
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 2f5683913c9815d9f12494784747f79b0f3b3066
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: 8e039a887df4265e9f20b2a29f12d6708965cc63
5+
refs/heads/try: 37dd4174d56431e97adf06ecaf6395376ab2ebbc
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/librbml/lib.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -436,13 +436,11 @@ pub mod reader {
436436
}
437437
}
438438

439-
pub fn tagged_docs<F>(d: Doc, tg: usize, it: F) -> bool where
440-
F: FnMut(Doc) -> bool,
441-
{
439+
pub fn tagged_docs<'a>(d: Doc<'a>, tag: usize) -> TaggedDocsIterator<'a> {
442440
TaggedDocsIterator {
443441
iter: docs(d),
444-
tag: tg,
445-
}.all(it)
442+
tag: tag,
443+
}
446444
}
447445

448446
pub struct TaggedDocsIterator<'a> {

0 commit comments

Comments
 (0)