summaryrefslogtreecommitdiff
path: root/examples/algorithms
diff options
context:
space:
mode:
authorZuhaitz <zuhaitz.zechhub@gmail.com>2026-01-26 00:39:31 +0000
committerGitHub <noreply@github.com>2026-01-26 00:39:31 +0000
commitca08979910e5a234a2423e4448ad0e284bf4f508 (patch)
treee09702f7b0850feb00a6af7f315bff7448c2ed26 /examples/algorithms
parent6bef876bf900458a36260ca3fe96e23b06749d74 (diff)
parent97d0583c92c733aa8497a99f5267d50151f6e965 (diff)
Merge pull request #132 from Burnett01/fix/var-const-remains-in-examples
Housekeeping: Fix var/const remains in examples and docs
Diffstat (limited to 'examples/algorithms')
-rw-r--r--examples/algorithms/sieve.zc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/algorithms/sieve.zc b/examples/algorithms/sieve.zc
index 2f5680e..147d71f 100644
--- a/examples/algorithms/sieve.zc
+++ b/examples/algorithms/sieve.zc
@@ -2,7 +2,7 @@
import "std.zc"
fn main() {
- const LIMIT = 50;
+ def LIMIT = 50;
let is_prime: bool[LIMIT];
for i in 0..LIMIT { is_prime[i] = true; }