News for hackers. Stuff that matters.
Re:Mistakes with Rust smart pointers: when Deref goes wrong by quietbritishjim on Thursday July 13, 2023 @07:39PM (#36717569)
All I can think of is Koenig lookup [1]: B and foo were defined in a namespace, and the calls to foo were not in that namespace and didn't explicitly qualify foo but still found it.

[1] https://en.m.wikipedia.org/wiki/Argument-dependent_name_look...

There are no comments on this comment yet.