From 1ceec65b5d1660e1dc608fe5f588923f373ff8db Mon Sep 17 00:00:00 2001 From: CrossNox Date: Tue, 29 Nov 2022 14:20:27 -0300 Subject: [PATCH] check for chars --- src/rustint/core.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rustint/core.clj b/src/rustint/core.clj index 217c456..502c09e 100644 --- a/src/rustint/core.clj +++ b/src/rustint/core.clj @@ -2531,6 +2531,7 @@ (defn especificador-formato [arg, rustf] (cond + (char? arg) "%c" (string? arg) "%s" (int? arg) "%d" (and (float? arg) (nil? rustf) (== (pasar-a-int arg) arg)) "%.0f"