mirror of
https://github.com/ziglang/zig.git
synced 2026-11-11 23:19:30 -05:00
replace %return with try
See #632 better fits the convention of using keywords for control flow
This commit is contained in:
1 parent
de1f57926f
commit
66717db735
41 files changed
+810
-801
No files matched your search
+1
-1
@@ -85,7 +85,7 @@ static const char *visib_mod_string(VisibMod mod) {
|
||||
static const char *return_string(ReturnKind kind) {
|
||||
switch (kind) {
|
||||
case ReturnKindUnconditional: return "return";
|
||||
case ReturnKindError: return "%return";
|
||||
case ReturnKindError: return "try";
|
||||
}
|
||||
zig_unreachable();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user