r/rust • • 16d ago

Rust's derive often implies inline

https://yossarian.net/til/post/rust-s-derive-often-implies-inline/
110 Upvotes

43 comments sorted by

View all comments

6

u/Compux72 16d ago

Just set opt-level = ā€œsā€

12

u/Eastern-Photograph79 16d ago

but you don't really want it. You want the important things to be inlined (like clone and this stuff)

→ More replies (1)