diff options
| author | bors <bors@rust-lang.org> | 2019-12-16 16:41:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-12-16 16:41:03 +0000 |
| commit | 426a7bb87f5ac08841bf0272887333a4a7925eae (patch) | |
| tree | 5e3944c8dca4b2340bfb5d1a658798f6e2da3c66 /src/main.rs | |
| parent | fe10e06c3733ddb4a21e90d09bf79bfe618e97ce (diff) | |
| parent | fc26b5e151b985ff5e369b3ef4049c0b01f11b0c (diff) | |
Auto merge of #249 - AbdouSeck:conversions, r=fmoko
feat: Add type conversion and parsing exercises
This pull request adds exercises for converting values into specific types. The exercises uses string to struct type conversions, but most of the traits in the exercises can handle more than just string parsing and conversions.
The following traits are covered:
1. `From` and `Into`
2. `TryFrom` and `TryInto`
3. `AsRef`
4. `FromStr`
The `as` operator is also covered.
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions
