Skip to content

Commit e2d51a7

Browse files
committed
---
yaml --- r: 212041 b: refs/heads/tmp c: 37dd417 h: refs/heads/master i: 212039: 3aaac63 v: v3
1 parent 5c1b300 commit e2d51a7

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
@@ -32,7 +32,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3232
refs/heads/beta: 62e70d35be3fe532c26a400b499c58a18f18dd3a
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
35-
refs/heads/tmp: 8e039a887df4265e9f20b2a29f12d6708965cc63
35+
refs/heads/tmp: 37dd4174d56431e97adf06ecaf6395376ab2ebbc
3636
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3737
refs/tags/homu-tmp: b77d60adb019bb5de05e884a99f3290ec4694137
3838
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

branches/tmp/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)