From 967b59a0d42310bc032d32f038b2287627af6493 Mon Sep 17 00:00:00 2001 From: collin Date: Thu, 2 Jul 2020 21:41:29 -0700 Subject: [PATCH 1/2] update readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8fcbe7ff56..37825892cf 100644 --- a/README.md +++ b/README.md @@ -379,6 +379,7 @@ import [package].( #### Import Star To import all symbols from a package: +Note that this will only import symbols from the package library `lib.leo` file. ```rust import [package].*; ``` From adaa3a5959052a351149db13acf68d9e218f1744 Mon Sep 17 00:00:00 2001 From: collin Date: Thu, 2 Jul 2020 22:08:20 -0700 Subject: [PATCH 2/2] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8fcbe7ff56..8c193663f8 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Leo supports `let` and `const` keywords for variable definition. **Allocated** variables define private variables in the constraint system. Their value is constrained in the circuit on initialization. **Constant** variables do not define a variable in the constraint system. Their value is constrained in the circuit on computation with an **allocated** variable. -**Constant** variables can be mutable. They do not have the same functionality as `const` variables in other languages. +**Constant** variables cannot be mutable. They have the same functionality as `const` variables in other languages. ```rust function addOne() -> { let a = 0u8; // allocated, value enforced on this line