Update outdated string representation in example (#25802)

See
[here](https://nim-lang.github.io/Nim/tut1.html#internal-type-representation).
This commit is contained in:
Nils-Hero Lindemann
2026-05-09 08:55:39 +02:00
committed by GitHub
parent 4c8052a45b
commit f0c60b06e5

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)