diff --git a/doc/docs.md b/doc/docs.md index f92013c2ed..ad25608e80 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -712,6 +712,7 @@ A string can be converted to runes by the `.runes()` method. ```v hello := 'Hello World 👋' hello_runes := hello.runes() // [`H`, `e`, `l`, `l`, `o`, ` `, `W`, `o`, `r`, `l`, `d`, ` `, `👋`] +assert hello_runes.string() == hello ``` ### Numbers