From 408df8eeffc910e0d19cc4c9353e68dcd30ca560 Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Sat, 9 Nov 2024 02:27:19 +0100 Subject: [PATCH] Fix $exec example. --- src/content/docs/Language Fundamentals/modules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/Language Fundamentals/modules.md b/src/content/docs/Language Fundamentals/modules.md index 77abda04..79c7a9da 100644 --- a/src/content/docs/Language Fundamentals/modules.md +++ b/src/content/docs/Language Fundamentals/modules.md @@ -455,7 +455,7 @@ An example: import std::io; // On Linux or MacOS this will insert 'String a = "Hello world!";' -$exec("echo", "String a = \\\"Hello world!\\\"\\;"); +$exec("echo", { "String a = \\\"Hello world!\\\"\\;" }); fn void main() {