|
|
|
|
|
by pcwalton
4697 days ago
|
|
We can't have implicit interfaces because they're incompatible with adding methods to types that you don't own (for example, adding methods to builtin types like int). Having this functionality is very important for our generics to work. Using case for visibility is convenient but it can cause problems when you change a method from public to private or vice versa; that's why it's not done in Rust. |
|