Fix a reference to RefContext.
This commit is contained in:
parent
0d728510d7
commit
c309d14776
@ -29,7 +29,7 @@ impl<'parent, T> List<'parent, T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn iter_list(&self) -> IterList<'_, T> {
|
pub fn iter_list(&self) -> IterList<'_, T> {
|
||||||
Iter { next: Some(self) }
|
IterList { next: Some(self) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,7 +3,9 @@ use nom::combinator::eof;
|
|||||||
use super::exiting::ExitClass;
|
use super::exiting::ExitClass;
|
||||||
use super::global_settings::GlobalSettings;
|
use super::global_settings::GlobalSettings;
|
||||||
use super::list::List;
|
use super::list::List;
|
||||||
|
use super::list::ListType;
|
||||||
use super::DynContextMatcher;
|
use super::DynContextMatcher;
|
||||||
|
use super::RefContext;
|
||||||
use crate::error::Res;
|
use crate::error::Res;
|
||||||
use crate::parser::OrgSource;
|
use crate::parser::OrgSource;
|
||||||
use crate::types::Object;
|
use crate::types::Object;
|
||||||
@ -175,7 +177,7 @@ impl<'r, 's> Context<'r, 's> {
|
|||||||
|
|
||||||
#[cfg_attr(feature = "tracing", tracing::instrument(ret, level = "debug"))]
|
#[cfg_attr(feature = "tracing", tracing::instrument(ret, level = "debug"))]
|
||||||
fn document_end<'r, 's>(
|
fn document_end<'r, 's>(
|
||||||
_context: Context<'r, 's>,
|
_context: RefContext<'r, 's>,
|
||||||
input: OrgSource<'s>,
|
input: OrgSource<'s>,
|
||||||
) -> Res<OrgSource<'s>, OrgSource<'s>> {
|
) -> Res<OrgSource<'s>, OrgSource<'s>> {
|
||||||
eof(input)
|
eof(input)
|
||||||
|
Loading…
Reference in New Issue
Block a user