summaryrefslogtreecommitdiff
path: root/examples/algorithms
diff options
context:
space:
mode:
authorSteven <burnett@posteo.de>2026-01-25 23:48:05 +0000
committerSteven <burnett@posteo.de>2026-01-25 23:48:05 +0000
commit62bc97a1f944e3ad06f11ecae0049bd83970a920 (patch)
treee8a49571513914d973d46e2d762a2bd9b157e9f8 /examples/algorithms
parentb568f67d75553bbecd2cadc4d61b330b8aea2ad2 (diff)
fix(examples): sieve.zc use def instead of non-existing const
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; }