Skip to content

Commit

Permalink
fix: typo: criteria is plural in English
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Serov authored Dec 20, 2024
1 parent 26635e1 commit 55ad168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/concept/expenses/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ p := DaysPeriod{From: 1, To: 31}
Bob deals with a lot of records every day, but not all of them are interesting depending on the analysis Bob is making.
Let's help Bob perform some basic filtering of records.

Implement the generic `Filter` function to filter records according to a criteria given by a function.
Implement the generic `Filter` function to filter records according to a criterion given by a function.
This filter function accepts a collection of records and a predicate function and returns only the records in the collection that satisfy the predicate.

```go
Expand Down

0 comments on commit 55ad168

Please sign in to comment.