Fix typo in destructuring

This commit is contained in:
Josef Pospíšil 2024-01-26 14:36:56 +01:00
parent 1394f1a5c0
commit 69f0fe004d
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ static int destructure(JanetCompiler *c,
JanetTable *attr) {
switch (janet_type(left)) {
default:
janetc_error(c, janet_formatc("unexpected type in destruction, got %v", left));
janetc_error(c, janet_formatc("unexpected type in destructuring, got %v", left));
return 1;
case JANET_SYMBOL:
/* Leaf, assign right to left */