aboutsummaryrefslogtreecommitdiff
path: root/main.ha
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-15 17:14:23 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-15 17:14:23 +0800
commitc96700f5fcd0cdcf5e425abaf43208f723157e2f (patch)
treedf72581942034a6331e566cd18340b671c1c8183 /main.ha
parentRemove the "path segments" section in index.htmpl (diff)
downloadforge-c96700f5fcd0cdcf5e425abaf43208f723157e2f.tar.gz
forge-c96700f5fcd0cdcf5e425abaf43208f723157e2f.tar.zst
forge-c96700f5fcd0cdcf5e425abaf43208f723157e2f.zip
Use abort("unreachable") instead of a random comment
Diffstat (limited to 'main.ha')
-rw-r--r--main.ha2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.ha b/main.ha
index 0545e81..58e467b 100644
--- a/main.ha
+++ b/main.ha
@@ -31,7 +31,7 @@ export fn main() void = {
for (let opt .. cmd.opts) {
switch (opt.0) {
case 'c' => yield; // TODO: actually handle the config
- case => abort(); // unreachable
+ case => abort("unreachable");
};
};