diff options
| author | Roberto Vidal <vidal.roberto.j@gmail.com> | 2020-02-26 20:38:44 +0100 |
|---|---|---|
| committer | Roberto Vidal <vidal.roberto.j@gmail.com> | 2020-04-06 16:17:14 +0200 |
| commit | 3b6d5c3aaa27a242a832799eb66e96897d26fde3 (patch) | |
| tree | eaae3908a499471302401b54c816631402072229 /exercises | |
| parent | 7ce42941ea3bed02bb7286e90baa27773a59c224 (diff) | |
feature: makes "compile" exercise print output, resolves #270
When running "compile"-mode exercises in interactive `verify` mode,
we print their output when we prompt the learner if they want to
continue. This improves the "experimentation" experience, since
trying different things does produce a visible change.
Diffstat (limited to 'exercises')
| -rw-r--r-- | exercises/primitive_types/primitive_types4.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/exercises/primitive_types/primitive_types4.rs b/exercises/primitive_types/primitive_types4.rs index 10b553e..d0c2336 100644 --- a/exercises/primitive_types/primitive_types4.rs +++ b/exercises/primitive_types/primitive_types4.rs @@ -8,7 +8,4 @@ fn slice_out_of_array() { let a = [1, 2, 3, 4, 5]; - let nice_slice = ??? - - assert_eq!([2, 3, 4], nice_slice) } |
