add a lifetime to the properties trait and make the manual spread example work
This commit is contained in:
1 parent
fc8c25280a
commit
fa494349fe
7 files changed
+220
-198
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user