While the current README is very descriptive, some might find the rustdoc to be similarly concise and descriptive of what trait_variant should be used for.
This commit adds the code example that is used in rustdoc to the README.md which shows up on GitHub and crates.io.
While the current README is very descriptive, some might find the rustdoc to be similarly concise and descriptive of what
trait_variant
should be used for.This commit adds the code example that is used in rustdoc to the README.md which shows up on GitHub and crates.io.