line 7: change siply to simply
This commit is contained in:
burrrata 2018-12-05 18:33:28 -03:00 committed by Michał Budzyński
parent a79932c9a6
commit dc8f1f2dd2

View file

@ -4,7 +4,7 @@
Sorts a Vector of Person structs with properties `name` and `age` by its natural
order (By name and age). In order to make Person sortable you need four traits [`Eq`],
[`PartialEq`], [`Ord`] and [`PartialOrd`]. These traits can be siply derived.
[`PartialEq`], [`Ord`] and [`PartialOrd`]. These traits can be simply derived.
You can also provide a custom comparator function using a [`vec:sort_by`] method and sort only by age.
```rust