From df32109eea63bb41d9a7e2c00e1d081bdb19b4b7 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sun, 15 Mar 2026 20:22:20 -0500 Subject: [PATCH] Small typo fixes in comments. --- src/core/compile.c | 2 +- src/core/compile.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/compile.c b/src/core/compile.c index c7a9cfb2..37d2491c 100644 --- a/src/core/compile.c +++ b/src/core/compile.c @@ -259,7 +259,7 @@ static int lookup_missing( return 1; } -/* Check if a binding is defined in an upper scope. This let's us check for +/* Check if a binding is defined in an upper scope. This lets us check for * variable shadowing. */ int janetc_shadowcheck(JanetCompiler *c, const uint8_t *sym) { /* Check locals */ diff --git a/src/core/compile.h b/src/core/compile.h index 3701129b..45d15eb6 100644 --- a/src/core/compile.h +++ b/src/core/compile.h @@ -272,7 +272,7 @@ JanetFuncDef *janetc_pop_funcdef(JanetCompiler *c); /* Create a destroy slot */ JanetSlot janetc_cslot(Janet x); -/* Search for a symbol, and mark any found symbols as "used" for dead code elimintation and linting */ +/* Search for a symbol, and mark any found symbols as "used" for dead code elimination and linting */ JanetSlot janetc_resolve(JanetCompiler *c, const uint8_t *sym); /* Check if a symbol is already in scope for shadowing lints */