diff options
| author | liv <mokou@fastmail.com> | 2022-08-16 09:35:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-16 09:35:53 +0200 |
| commit | 25ab52b8e722df8b18b1e46651b56783d62f76af (patch) | |
| tree | 1ad123062207dccbe08b07b03cc114598e87e39e /info.toml | |
| parent | cd0ee50dd7abb3b7514b2b3e3f8a233b857e9edb (diff) | |
| parent | 72e21a2a6c2654cb1d2e292291e2e40914957776 (diff) | |
Merge pull request #1103 from exdx/feat/cow
feat: add cow1.rs exercise
Diffstat (limited to 'info.toml')
| -rw-r--r-- | info.toml | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -932,6 +932,17 @@ is too much of a struggle, consider reading through all of Chapter 16 in the boo https://doc.rust-lang.org/stable/book/ch16-00-concurrency.html """ +[[exercises]] +name = "cow1" +path = "exercises/standard_library_types/cow1.rs" +mode = "compile" +hint = """ +Since the vector is already owned, the `Cow` type doesn't need to clone it. + +Checkout https://doc.rust-lang.org/std/borrow/enum.Cow.html for documentation +on the `Cow` type. +""" + # THREADS [[exercises]] |
