Elide the arena lifetimes that the signatures do not need

This commit is contained in:
Dennis Kobert
2026-09-09 15:39:12 +00:00
parent 44f46c12b5
commit c1704df0b3
2 changed files with 3 additions and 3 deletions

View File

@@ -257,7 +257,7 @@ macro_rules! wire_value {
impl $crate::attribute::WireValue for $value {
type Row = $value;
fn park<'e>(self, _: &'e $crate::arena::Arena) -> ::core::option::Option<$value> {
fn park(self, _: &$crate::arena::Arena) -> ::core::option::Option<$value> {
::core::option::Option::Some(self)
}
}

View File

@@ -401,10 +401,10 @@ macro_rules! attribute_reads {
$(
$(#[$meta])*
#[node_macro::node(category("Attributes: Read"))]
pub fn $node<'e, T>(
pub fn $node<T>(
_: impl Ctx,
/// The content whose lanes carry the attribute; its element is never read.
(content, value): (T, Attr<'e, Named<Name0, $row>>),
(content, value): (T, Attr<Named<Name0, $row>>),
/// The attribute name, folded into an offset when the graph compiles.
name: Named<Name0>,
) -> $value {