rustlings/exercises
Yudhiesh Ravindranath d183d8cf34
Remove type when passing in a struct to an enum
I was doing this exercise and noticed that the default test had an issue where it was defining the type being passed to the enum as a struct. Test was failing and the compiler advised to remove the type of Point. When it was removed test ran successfully.
2020-09-24 12:27:32 +08:00
..
clippy chore: add explanatory comment to clippy1 2020-04-21 18:50:00 +02:00
conversions fix(using_as): Add test so that proper type is returned. (#512) 2020-09-07 19:09:27 +02:00
enums Remove type when passing in a struct to an enum 2020-09-24 12:27:32 +08:00
error_handling chore: Removed extra whitespaces 2020-08-27 19:51:19 +02:00
functions Created consistent money unit 2019-12-29 19:15:32 -05:00
generics chore: Removed extra whitespaces 2020-08-27 19:51:19 +02:00
if feat: Add if2 exercise 2020-05-02 13:02:16 -07:00
macros Make macros4 not compile by default 2020-08-26 22:17:03 -04:00
modules Merge branch 'master' into refactor-hints 2019-11-11 17:21:06 +01:00
move_semantics fix: line numbers in several exercises and hints 2019-11-14 08:21:56 +01:00
option fix(option1): Don't add only zeros to the numbers array 2020-05-27 18:55:12 +10:00
primitive_types chore: Alter whitespace for consistency 2020-07-11 11:50:54 -07:00
standard_library_types Merge pull request #489 from mukundbhudia/iterators1 2020-09-18 15:23:28 +02:00
strings Merge branch 'master' into refactor-hints 2019-11-11 17:21:06 +01:00
structs fix(structs3): Small adjustment of variable name 2020-09-19 21:22:56 +02:00
tests chore: Correct test command in tests1.rs comment 2020-01-29 13:48:43 +08:00
threads fix: line numbers in several exercises and hints 2019-11-14 08:21:56 +01:00
traits chore: Removed extra whitespaces 2020-08-27 19:51:19 +02:00
variables fix(variables6): minor typo (#419) 2020-06-03 13:34:43 +02:00
quiz1.rs feat: renames test to quiz, fixes #244 2020-05-19 18:47:44 +02:00
quiz2.rs fix(exercises): adding question mark to quiz2 2020-08-25 16:38:41 +02:00
quiz3.rs fix: fix quiz naming inconsistency (#421) 2020-06-03 20:06:35 +02:00
quiz4.rs feat: renames test to quiz, fixes #244 2020-05-19 18:47:44 +02:00