3 ms·
Seems a bit...overly complex. Also, what is the appeal to '::' instead of just '.' Kill the semicolons with fire
by frewsxcv 15y ago
Seems a bit...overly complex.
Also, what is the appeal to '::' instead of just '.'
Kill the semicolons with fire
- zeugma 15y agoRust is inspired by C++ which use '::' to access names inside a namespace, here 'vec' and io are module/namespace not object, it's a static lookup. '.' is still used for object lookup which is dynamic.