diff options
| author | bors <bors@rust-lang.org> | 2020-02-26 11:48:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-02-26 11:48:01 +0000 |
| commit | 7e8530b21ff355c9b52e07eb3ba25278746a6932 (patch) | |
| tree | f100795973f84cf46fb240adcdaaaa2cd76a1aaf /src/main.rs | |
| parent | 98358597a981aeeb039d756934d1ff91a2d8d7dc (diff) | |
| parent | 43dc31193afddc15c78d2ceb57f7c68da90e8a46 (diff) | |
Auto merge of #271 - jrvidal:refactor, r=fmoko
refactor: exercise evaluation
After working a bit on #270, I realized that it'd be useful to first perform a minor refactor of exercise evaluation.
* Now we have standard methods to compile + execute that return `Result`s.
* Success/failure messages are standardized.
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index dd060ac..4fd6083 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,6 +15,9 @@ use std::sync::{Arc, Mutex}; use std::thread; use std::time::Duration; +#[macro_use] +mod ui; + mod exercise; mod run; mod verify; |
