Need a constant value for generic numbers.
This commit is contained in:
parent
f0868ba3ed
commit
e0ec5c115f
@ -6,6 +6,7 @@ use super::Object;
|
||||
use super::PostBlank;
|
||||
use super::StandardProperties;
|
||||
use super::Timestamp;
|
||||
use crate::types::remove_trailing::RemoveTrailing;
|
||||
|
||||
pub type PriorityCookie = u8;
|
||||
pub type HeadlineLevel = u16;
|
||||
@ -62,6 +63,10 @@ impl<'s> StandardProperties<'s> for Document<'s> {
|
||||
}
|
||||
|
||||
fn get_contents<'b>(&'b self) -> Option<&'s str> {
|
||||
let post_blank = self.get_post_blank();
|
||||
let foo: RemoveTrailing<_, post_blank> =
|
||||
RemoveTrailing::new(self.source.split_inclusive("\n"));
|
||||
// self.source.split_inclusive("\n")
|
||||
todo!()
|
||||
}
|
||||
|
||||
|
@ -6,6 +6,7 @@ mod greater_element;
|
||||
mod lesser_element;
|
||||
mod macros;
|
||||
mod object;
|
||||
mod remove_trailing;
|
||||
mod standard_properties;
|
||||
mod util;
|
||||
pub use affiliated_keyword::AffiliatedKeyword;
|
||||
|
Loading…
Reference in New Issue
Block a user