commit b842d1516027d1764c0fa2016ef4391dbe696757
parent 29c145df6beabcfb05e6919671bf6cea5290fce8
Author: Noam Preil <noam@pixelhero.dev>
Date: Thu, 1 Dec 2022 04:39:56 -0500
strings::template: fix typo in README
Signed-off-by: Noam Preil <noam@pixelhero.dev>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/strings/template/README b/strings/template/README
@@ -7,7 +7,7 @@ names must be alphanumeric ASCII characters (i.e. for which [[ascii::isalnum]]
returns true). A literal "$" may be printed by using it twice: "$$". Variables
may also be used with braces, i.e. ${variable}, so that they can be placed
immediately next to alphanumeric characters; such variables may include
-non-alphanumeric characters other than '_'.
+non-alphanumeric characters other than '}'.
const src = "Hello, $user! Your balance is $$$balance.\n";
const template = template::compile(src)!;