removed $ for refs upon request
This commit is contained in:
parent
e366eeaafc
commit
7168ceb5e1
2 changed files with 7 additions and 19 deletions
|
|
@ -1557,8 +1557,6 @@ proc `<`*[T: tuple](x, y: T): bool =
|
|||
if c > 0: return false
|
||||
return false
|
||||
|
||||
proc `$`*[T: ref](x: T): string = $x[]
|
||||
|
||||
proc `$`*[T: tuple|object](x: T): string =
|
||||
## generic ``$`` operator for tuples that is lifted from the components
|
||||
## of `x`. Example:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue