Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
AlleyTrotter
6y ago
0 comments
Save
Share
so the " :: ' has no verbal meaning, it's just a way of linking traits, libraries, functions,or crates? Not easy to explain
0 comments
2 comments · 2 top-level
top
newest
oldest
atombender
6y ago
It's for dereferencing namespaces. "a::b::c" is analogous to a file system path /a/b/c.
AlleyTrotter
OP
6y ago
I found what I was looking for in the appendix
B-3 Path related syntax """ ::path Path relative to the crate root (i.e., an explicitly absolute """
j
/
k
navigate · click thread line to collapse