diff options
| author | bors <bors@rust-lang.org> | 2019-11-12 11:07:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-11-12 11:07:56 +0000 |
| commit | 45d68d9b3943fcfc8f0674f742222dc70ba2b959 (patch) | |
| tree | c2a72bf47720f91fe95b1258e2e3c2981d144514 | |
| parent | bc32a63c69f26654f8f855808edd9a3c19bf679a (diff) | |
| parent | b4d41c1b7a90d5c8c2df4204dff52cba6297dba1 (diff) | |
Auto merge of #232 - rust-lang:update-docs, r=fmoko
chore: Update docs for 2.0
Only merge this once we're ready to release 2.0.
| -rw-r--r-- | CONTRIBUTING.md | 5 | ||||
| -rw-r--r-- | README.md | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 98deb16..d566df0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -35,8 +35,11 @@ You want to make sure where in the file you add your exercise. If you're not sur ```diff ... + [[exercises]] ++ name = "yourTopicN" + path = "exercises/yourTopic/yourTopicN.rs" + mode = "compile" ++ hint = """ ++ Some kind of useful hint for your exercise.""" ... ``` @@ -125,4 +128,4 @@ BREAKING CHANGE: This has to be done because lorem ipsum dolor Once you open a Pull Request, it may be reviewed or labeled (or both) until the maintainers accept your change. Then, [bors](https://github.com/bors) will run the test suite with your changes and if it's successful, automatically -merge it in!
\ No newline at end of file +merge it in! @@ -80,10 +80,15 @@ This will do the same as watch, but it'll quit after running. In case you want to go by your own order, or want to only verify a single exercise, you can run: ```bash -rustlings run exercises/path/to/exercise.rs +rustlings run myExercise1 ``` -In case you get stuck, there is usually a hint at the bottom of each exercise. +In case you get stuck, you can run the following command to get a hint for your +exercise: + +``` bash +rustlings hint myExercise1 +``` ## Testing yourself |
