Start the plain list module.

This commit is contained in:
Tom Alexander
2022-12-18 03:29:01 -05:00
parent f39319702c
commit 76b2325486
3 changed files with 20 additions and 0 deletions

View File

@@ -95,3 +95,14 @@ impl<'a> Source<'a> for Paragraph<'a> {
self.source
}
}
#[derive(Debug)]
pub struct PlainList<'a> {
pub source: &'a str,
}
impl<'a> Source<'a> for PlainList<'a> {
fn get_source(&'a self) -> &'a str {
self.source
}
}