Fixing imports.

This commit is contained in:
Tom Alexander 2023-09-02 19:15:47 -04:00
parent eabffe5ecc
commit 12ad3b09f0
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
6 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
use self::parser_context::Context;
use crate::error::Res;
use crate::parser::OrgSource;
mod exiting; mod exiting;
mod list; mod list;
mod parser_context; mod parser_context;

View File

@ -43,3 +43,4 @@ mod timestamp;
mod token; mod token;
mod util; mod util;
pub use document::document; pub use document::document;
pub use org_source::OrgSource;

View File

@ -1,3 +1,5 @@
use super::Source;
#[derive(Debug)] #[derive(Debug)]
pub struct Document<'s> { pub struct Document<'s> {
pub source: &'s str, pub source: &'s str,

View File

@ -1,6 +1,7 @@
use super::element::Element; use super::element::Element;
use super::lesser_element::TableCell; use super::lesser_element::TableCell;
use super::Object; use super::Object;
use super::Source;
#[derive(Debug)] #[derive(Debug)]
pub struct PlainList<'s> { pub struct PlainList<'s> {

View File

@ -1,5 +1,6 @@
use super::object::Object; use super::object::Object;
use super::PlainText; use super::PlainText;
use super::Source;
#[derive(Debug)] #[derive(Debug)]
pub struct Paragraph<'s> { pub struct Paragraph<'s> {

View File

@ -1,3 +1,5 @@
use super::Source;
#[derive(Debug, PartialEq)] #[derive(Debug, PartialEq)]
pub enum Object<'s> { pub enum Object<'s> {
Bold(Bold<'s>), Bold(Bold<'s>),