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.
5 stories on the front page, newest first. Scroll down to watch the site change over time.
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.