First attempt at a section render function.

Running into an issue with generics vs dynamic references.
This commit is contained in:
Tom Alexander
2020-04-28 20:46:29 -04:00
parent e5c4ba8c82
commit f0a69d12b9
4 changed files with 40 additions and 6 deletions

View File

@@ -90,9 +90,9 @@ pub struct Span<'a> {
#[derive(Clone, Debug, PartialEq)]
pub struct Container<'a> {
path: Path<'a>,
contents: Option<Body<'a>>,
else_contents: Option<Body<'a>>,
pub path: Path<'a>,
pub contents: Option<Body<'a>>,
pub else_contents: Option<Body<'a>>,
}
#[derive(Clone, Debug, PartialEq)]