diff --git a/src/apfl.h b/src/apfl.h index f4974fb..7e8fb0b 100644 --- a/src/apfl.h +++ b/src/apfl.h @@ -57,7 +57,7 @@ struct apfl_string { size_t len; // TODO: Not sure, if it's a good idea to expose this. We now need the actual - // size of the underlying allocation tough. Maybe we should better + // size of the underlying allocation though. Maybe we should better // shrink the cap to len wen we're done building a string? size_t cap; }; diff --git a/src/eval.c b/src/eval.c index 9a0e79e..e27266e 100644 --- a/src/eval.c +++ b/src/eval.c @@ -902,7 +902,7 @@ match_pattern_match_list( static enum match_result match_pattern_match(struct apfl_allocator allocator, struct match_pattern *pattern, struct apfl_value value) { - // We put the contraints into the list from the outside in, so we need + // We put the constraints into the list from the outside in, so we need // to iterate in reverse order. for (size_t i = pattern->constraints_len; i-- > 0; ) { enum match_result result = match_pattern_check_constraint(