Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
From<String>
constructor for Category
This is an alternative to the `Default::default()` constructor. The `Default::default()` constructor produces an empty string for the `name`, which is probably not what the user wants in most cases. This PR also adds a similar `From<&str>` constructor.
- Loading branch information