Fix typo
This commit is contained in:
parent
bb464d8226
commit
4088fdd1c3
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue