We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d41dbf commit e2580f1Copy full SHA for e2580f1
src/librbml/lib.rs
@@ -436,13 +436,11 @@ pub mod reader {
436
}
437
438
439
- pub fn tagged_docs<F>(d: Doc, tg: usize, it: F) -> bool where
440
- F: FnMut(Doc) -> bool,
441
- {
+ pub fn tagged_docs<'a>(d: Doc<'a>, tag: usize) -> TaggedDocsIterator<'a> {
442
TaggedDocsIterator {
443
iter: docs(d),
444
- tag: tg,
445
- }.all(it)
+ tag: tag,
+ }
446
447
448
pub struct TaggedDocsIterator<'a> {
0 commit comments