1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-21 01:34:49 +00:00

changed some error messages 'x|y' -> 'x or y'

This commit is contained in:
Ico Doornekamp
2023-05-23 06:58:52 +02:00
parent b4e3dbf331
commit e9f2d1aca7
3 changed files with 3 additions and 3 deletions

View File

@@ -458,7 +458,7 @@ JANET_CORE_FN(janet_core_getproto,
? janet_wrap_struct(janet_struct_proto(st))
: janet_wrap_nil();
}
janet_panicf("expected struct|table, got %v", argv[0]);
janet_panicf("expected struct or table, got %v", argv[0]);
}
JANET_CORE_FN(janet_core_struct,