From 54ceabc4041f7d0871a001bb5a3734d76f7d2f09 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Sun, 20 Jul 2025 13:54:31 -0400 Subject: [PATCH] oops no @ on deprecated --- string.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/string.d b/string.d index 53f815a..277afc4 100644 --- a/string.d +++ b/string.d @@ -31,12 +31,12 @@ alias indexOf = arsd.core.indexOf; /// Strips (aka trims) leading and/or trailing whitespace from the string. alias strip = arsd.core.stripInternal; /// ditto -@deprecated("D calls this `strip` instead") alias trim = strip; +deprecated("D calls this `strip` instead") alias trim = strip; /// ditto alias stripRight = arsd.core.stripInternal; /// ditto -@deprecated("D calls this `stripRight` instead") alias trimRight = stripRight; +deprecated("D calls this `stripRight` instead") alias trimRight = stripRight; // stripLeft? variants where you can list the chars to strip?