From 49940ac6b38204c4b1eb60e9dc1c553c331ac122 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 30 Aug 2022 10:10:23 +0100 Subject: Rewording --- language.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'language.md') diff --git a/language.md b/language.md index 1a52df9..de4b87d 100644 --- a/language.md +++ b/language.md @@ -155,7 +155,7 @@ Variables must be initialized, there are not default values. ### Constants -Constant are not variables, they don't use memory. +Constant are immutable values and no memory is allocated for them: ``` const K: u8 = 10; ``` @@ -168,7 +168,7 @@ const ( ); ``` -Must be a constant expression and that can be resolved at compilation time. +Must be resolved at compilation time. ``` var a: u8 = 1; -- cgit v1.2.3