Trigger a cargo update 2

This commit is contained in:
Isaac Mills 2024-04-10 14:50:23 -04:00
parent bed24b283f
commit 3f70c53aab
Signed by: fnmain
GPG key ID: B67D7410F33A0F61

View file

@ -140,12 +140,18 @@ impl<'a, 'b, T: Iterator<Item = Event<'a>>> Iterator for JotdownIntoBuffer<'a, '
#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))]
pub struct RichText<'a>(
pub Cow<'a, str>,
Cow<'a, str>,
#[cfg_attr(feature = "serde", serde(with = "AttrsSerde"))]
#[cfg_attr(feature = "serde", serde(borrow))]
pub Attrs<'a>,
Attrs<'a>,
);
impl<'a> From<(Cow<'a, str>, Attrs<'a>)> for RichText<'a> {
fn from(value: (Cow<'a, str>, Attrs<'a>)) -> Self {
Self(value.0, value.1)
}
}
#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))]
pub struct JotdownItem<'a> {
pub indent: Indent,