From 4aac2958bbbf9955d6aad3167d3d84d9a6deaa45 Mon Sep 17 00:00:00 2001 From: Sainan Date: Sat, 2 Nov 2024 23:14:11 +0100 Subject: [PATCH] Update implicit-global warning message --- docs/New Features/Compiler Warnings.md | 2 +- docs/New Features/Explicit Globals.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/New Features/Compiler Warnings.md b/docs/New Features/Compiler Warnings.md index 779ff9ce4..4b0687b15 100644 --- a/docs/New Features/Compiler Warnings.md +++ b/docs/New Features/Compiler Warnings.md @@ -188,7 +188,7 @@ a = 1 ``` file.pluto:3: warning: implicit global creation [implicit-global] 3 | a = 1 - | ^^^^^ here: prefix this with 'global' if creating a global was intended + | ^^^^^ here: prefix this with 'global' to be explicit ``` ### discarded-return diff --git a/docs/New Features/Explicit Globals.md b/docs/New Features/Explicit Globals.md index 09c2e5735..a05ef39cb 100644 --- a/docs/New Features/Explicit Globals.md +++ b/docs/New Features/Explicit Globals.md @@ -31,5 +31,5 @@ a = 1 ``` file.pluto:3: warning: implicit global creation [implicit-global] 3 | a = 1 - | ^^^^^ here: prefix this with 'global' if creating a global was intended + | ^^^^^ here: prefix this with 'global' to be explicit ``` \ No newline at end of file