Hacker News new | ask | show | jobs
by yccs27 578 days ago
I think Rust assumes that trait implementations are the same across the whole program. This avoids problems e.g. with inlining code or passing data structures between crates. I don't believe this is absolutely necessary though.