add a lifetime to the properties trait and make the manual spread example work

This commit is contained in:
Evan Almloff committed 2023-09-20 16:15:11 -05:00
1 parent fc8c25280a
commit fa494349fe
7 files changed
+220 -198

No files matched your search

+2 -2
View File
@@ -896,8 +896,8 @@ impl<'a, T: IntoAttributeValue<'a>> IntoAttributeValue<'a> for Option<T> {
pub trait HasAttributesBox<'a, T> {
fn push_attribute(
self,
name: &str,
ns: Option<&str>,
name: &'a str,
ns: Option<&'static str>,
attr: impl IntoAttributeValue<'a>,
volatile: bool,
) -> T;