Apply more suggestions.

This commit is contained in:
Tom Alexander
2023-10-16 17:28:28 -04:00
parent b4f9a3b9b6
commit 1d329cc310
8 changed files with 43 additions and 45 deletions

View File

@@ -40,7 +40,7 @@ pub(crate) fn property_drawer<'b, 'g, 'r, 's>(
) -> Res<OrgSource<'s>, PropertyDrawer<'s>> {
if immediate_in_section(context, "property-drawer") {
return Err(nom::Err::Error(CustomError::MyError(MyError(
"Cannot nest objects of the same element".into(),
"Cannot nest objects of the same element",
))));
}
let (