toml: update value_opt syntax and add missing documentation (#16510)

This commit is contained in:
Subhomoy Haldar 2022-11-22 17:45:12 +00:00 committed by GitHub
parent 7c7ebd648d
commit f7a11b8e50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 18 additions and 2 deletions

View file

@ -19,6 +19,7 @@ pub const (
type DottedKey = []string
// str returns the dotted key as a string.
pub fn (dk DottedKey) str() string {
return dk.join('.')
}