mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-18 09:25:36 +00:00
add console output image
This commit is contained in:
parent
71a6041edf
commit
729217da2f
@ -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 New Issue
Block a user