mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 14:57:32 -05:00
add console output image
This commit is contained in:
parent
71a6041edf
commit
729217da2f
1 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,10 @@ for convenience. The `verify!` macro is essentially a specialized `assert_eq!`,
|
|||
if the values mismatch, instead it prints out a helpful error message and keeps going. The
|
||||
`verify_easy!` macro is designed as a drop-in replacement for the `verify!` macro for if the learner needs help solving the exercise. It prints the expected value, too.
|
||||
|
||||
This is roughly what the console output for a simple exercise looks right now:
|
||||
|
||||
![](https://i.imgur.com/gGgjvLW.png)
|
||||
|
||||
Keep in mind that this is a very early draft of how things work. Anything here might be changed
|
||||
at any time, and this documentation should be updated accordingly.
|
||||
|
||||
|
|
Loading…
Reference in a new issue