You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,12 @@ isn't really that complicated since the bulk of the work is done by `rustc`.
26
26
<aname="addex"></a>
27
27
### Adding an exercise
28
28
29
-
First step is to add the exercise! Call it`exercises/yourTopic/yourTopicN.rs`, make sure to
29
+
The first step is to add the exercise! Name the file`exercises/yourTopic/yourTopicN.rs`, make sure to
30
30
put in some helpful links, and link to sections of the book in `exercises/yourTopic/README.md`.
31
31
32
-
Next you want to make sure it runs when using `rustlings`. All exercises are stored in `info.toml`, under the `exercises` array. They're ordered by the order they're ran when using`rustlings verify`.
32
+
Next make sure it runs with `rustlings`. The exercise metadata is stored in `info.toml`, under the `exercises` array. The order of the `exercises` array determines the order the exercises are run by`rustlings verify`.
33
33
34
-
You want to make sure where in the file you add your exercise. If you're not sure, add it at the bottom and ask in your pull request. To add an exercise, edit the file like this:
34
+
Add the metadata for your exercise in the correct order in the `exercises` array. If you are unsure of the correct ordering, add it at the bottom and ask in your pull request. The exercise metadata should contain the following:
0 commit comments