diff --git a/aya/src/programs/links.rs b/aya/src/programs/links.rs index 1f7a68f0..129d5952 100644 --- a/aya/src/programs/links.rs +++ b/aya/src/programs/links.rs @@ -258,7 +258,7 @@ macro_rules! define_link_wrapper { impl From<$wrapper> for $base { fn from(w: $wrapper) -> $base { - w.into() + w.0 } } };