From 18f58b0d2f87a0cec48b93d370fc089af9bd2166 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Sun, 12 Sep 2021 15:45:31 -0500 Subject: [PATCH] no strformat --- src/bumpy.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bumpy.nim b/src/bumpy.nim index 9f3e752..985832d 100644 --- a/src/bumpy.nim +++ b/src/bumpy.nim @@ -1,4 +1,4 @@ -import strformat, vmath, algorithm +import vmath, algorithm type Circle* = object @@ -69,7 +69,7 @@ proc `+`*(a, b: Rect): Rect = result.h = a.h proc `$`*(a: Rect): string = - &"({a.x}, {a.y}: {a.w} x {a.h})" + "(" & $a.x & ", " & $a.y & ": " & $a.w & " x " & $a.h & ")" proc `or`*(a, b: Rect): Rect = ## Union of two rectangles.