Fix a reference to RefContext.

This commit is contained in:
Tom Alexander 2023-09-02 20:52:02 -04:00
parent 0d728510d7
commit c309d14776
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 4 additions and 2 deletions

View File

@ -29,7 +29,7 @@ impl<'parent, T> List<'parent, T> {
}
pub fn iter_list(&self) -> IterList<'_, T> {
Iter { next: Some(self) }
IterList { next: Some(self) }
}
}

View File

@ -3,7 +3,9 @@ use nom::combinator::eof;
use super::exiting::ExitClass;
use super::global_settings::GlobalSettings;
use super::list::List;
use super::list::ListType;
use super::DynContextMatcher;
use super::RefContext;
use crate::error::Res;
use crate::parser::OrgSource;
use crate::types::Object;
@ -175,7 +177,7 @@ impl<'r, 's> Context<'r, 's> {
#[cfg_attr(feature = "tracing", tracing::instrument(ret, level = "debug"))]
fn document_end<'r, 's>(
_context: Context<'r, 's>,
_context: RefContext<'r, 's>,
input: OrgSource<'s>,
) -> Res<OrgSource<'s>, OrgSource<'s>> {
eof(input)