Rust in Production
Zed with Conrad Irwin
Conrad Irwin
So if you have a function that takes generic arguments, you kind of want to keep that internal because otherwise every time someone uses it, you get another copy of that whole thing out. And obviously, like everything, there's a trade-off. There are some things where it is worth the pain, but there are other things where if you can avoid that kind of type boilerplate exploding, you should.
0
💬
0
Comments
Log in to comment.
There are no comments yet.