Skip to content

Commit 3919a8d

Browse files
committed
---
yaml --- r: 225365 b: refs/heads/stable c: 37dd417 h: refs/heads/master i: 225363: 747e299 v: v3
1 parent 356dcf5 commit 3919a8d

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
@@ -29,6 +29,6 @@ refs/heads/tmp: e5d90d98402475b6e154ce216f9efcb80da1a747
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: 1fe32ca12c51afcd761d9962f51a74ff0d07a591
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 8e039a887df4265e9f20b2a29f12d6708965cc63
32+
refs/heads/stable: 37dd4174d56431e97adf06ecaf6395376ab2ebbc
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b

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