We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef01dfc commit d72022bCopy full SHA for d72022b
lib/std/system/stringimpl.nim
@@ -334,3 +334,5 @@ proc fromCString*(s: cstring): string =
334
## by copying the underlying storage.
335
let aux = borrowCStringUnsafe(s)
336
result = aux.terminatingZero()
337
+
338
+template `$`*(x: string): string = x
0 commit comments