Comment Comment by zeugma Rust 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. parent zeugma 14 years ago
'.' is still used for object lookup which is dynamic.