Sure - good question.
By dual const (dual meaning two of something), I mean that const can show up twice in a single type declaration. Now, we know that you can have more than two consts…
const x: []const []const u8
is 3 qualifiers and denotes a constant slice to constant slices of u8’s. The point of this Doc though is to give a basic understanding of the most common pointer qualifiers people encounter (especially in the beginning).
const _: *const _
Do you have a suggestion to make this more clear?
Also, we could edit this article to add more content too for more advanced cases -
Docs
are open ended after all.