Rust's derive often implies inline(yossarian.net)
102 points by woodruffw | 24 comments
A TIL blog post explaining that Rust's #[derive(...)] for traits like Debug and Clone emits #[inline] attributes, shown via macro expansion.
1 story tagged inline, newest first.
102 points by woodruffw | 24 comments
A TIL blog post explaining that Rust's #[derive(...)] for traits like Debug and Clone emits #[inline] attributes, shown via macro expansion.