mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
Elide the arena lifetimes that the signatures do not need
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user