When reading rust codes, you sometimes see File::open or f.read(). Why are some functions accessed with ::, and others with .? By taking a look at the source code for std::fs::File, we could see that these functions are defined either in impl File, o...
ericlin.hashnode.dev3 min readNo responses yet.