Update outdated string representation in example (#25802)

See
[here](https://nim-lang.github.io/Nim/tut1.html#internal-type-representation).

(cherry picked from commit f0c60b06e5)
This commit is contained in:
Nils-Hero Lindemann
2026-05-09 08:55:39 +02:00
committed by narimiran
parent 58043bb581
commit e8c604b1fa

View File

@@ -1144,7 +1144,7 @@ there is a difference between the `$` and `repr` outputs:
echo myCharacter, ":", repr(myCharacter)
# --> n:'n'
echo myString, ":", repr(myString)
# --> nim:0x10fa8c050"nim"
# --> nim:"nim"
echo myInteger, ":", repr(myInteger)
# --> 42:42
echo myFloat, ":", repr(myFloat)