diff options
| author | bors <bors@rust-lang.org> | 2019-11-18 22:23:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-11-18 22:23:14 +0000 |
| commit | f4acb888a693a607c940ef6de32b2b739f1571bf (patch) | |
| tree | 7fc0e706596a051e1bb0d516070aabb9dba44beb /exercises | |
| parent | a40ad092e94bd22ed353a85535ca43c910609e86 (diff) | |
| parent | 8143d57b4e88c51341dd4a18a14c536042cc009c (diff) | |
Auto merge of #241 - vyaslav:master, r=fmoko
feat(watch): show hint while watching
`rustlings hint ...` command is not convenient when doing exercises with `rustlings watch`.
This PR makes it possible for user to type `hint` while running `watch` and get hint text for exercise which is currently failing.
e.g.
```rust
...
--> exercises/variables/variables1.rs:13:36
|
13 | println!("x has the value {}", x);
| ^ not found in this scope
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0425`.
type 'hint' to get help:
hint
Hint: The declaration on line 12 is missing a keyword that is needed in Rust
to create a new variable binding.
```
Diffstat (limited to 'exercises')
0 files changed, 0 insertions, 0 deletions
