From 5a6afd49b09a9de9c2b28cbd9b5e8741f6154726 Mon Sep 17 00:00:00 2001 From: CrossNox Date: Tue, 29 Nov 2022 14:21:48 -0300 Subject: [PATCH] return better replace --- src/rustint/core.clj | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/rustint/core.clj b/src/rustint/core.clj index 3852640..70a5898 100644 --- a/src/rustint/core.clj +++ b/src/rustint/core.clj @@ -2559,10 +2559,8 @@ (rest args) (get-rust-formatters (first args)) ) - ] (if (empty? clojure-fspecifiers) - args - (cons (replace-groups (first args) clojure-fspecifiers) (rest args)) - ) + ] + (cons (replace-groups (first args) clojure-fspecifiers) (rest args)) ) )