Browse Source

docs(filter_table) correct grammar

pull/1183/head
davhojt 2 years ago committed by Dav Hojt
parent
commit
ef9cee5a31
  1. 6
      subjects/filter_table/README.md

6
subjects/filter_table/README.md

@ -2,14 +2,10 @@
### Instructions ### Instructions
- Define the **functions**: - Define the associated functions for the `Table` struct:
- `new`: which creates a new empty table. - `new`: which creates a new empty table.
- `add_rows`: which adds a new row to the table from a slice of strings. - `add_rows`: which adds a new row to the table from a slice of strings.
- `filter_cols`: which receives a closure and returns a table with all the columns that yielded true when applying that closure. The closure will receive a `&str` and return a `bool` value. - `filter_cols`: which receives a closure and returns a table with all the columns that yielded true when applying that closure. The closure will receive a `&str` and return a `bool` value.
- `filter_rows`: which receives a closure and returns a table with all the rows that yielded true when applied to the elements of the selected column. The closure will receive a `&str` and return a `bool` value. - `filter_rows`: which receives a closure and returns a table with all the rows that yielded true when applied to the elements of the selected column. The closure will receive a `&str` and return a `bool` value.
### Expected functions and Structures ### Expected functions and Structures

Loading…
Cancel
Save