File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
use serde:: Deserialize ;
2
2
use std:: fmt:: { self , Display , Formatter } ;
3
- use std:: fs:: { remove_file} ;
4
- use std:: path:: { PathBuf } ;
3
+ use std:: fs:: remove_file;
4
+ use std:: path:: PathBuf ;
5
5
use std:: process:: { self , Command , Output } ;
6
6
7
7
const RUSTC_COLOR_ARGS : & [ & str ] = & [ "--color" , "always" ] ;
@@ -63,8 +63,8 @@ impl Display for Exercise {
63
63
#[ cfg( test) ]
64
64
mod test {
65
65
use super :: * ;
66
- use std:: path:: Path ;
67
66
use std:: fs:: File ;
67
+ use std:: path:: Path ;
68
68
69
69
#[ test]
70
70
fn test_clean ( ) {
Original file line number Diff line number Diff line change 1
- use crate :: exercise:: { Mode , Exercise } ;
1
+ use crate :: exercise:: { Exercise , Mode } ;
2
2
use crate :: verify:: test;
3
3
use console:: { style, Emoji } ;
4
4
use indicatif:: ProgressBar ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ use crate::exercise::{Exercise, Mode};
2
2
use console:: { style, Emoji } ;
3
3
use indicatif:: ProgressBar ;
4
4
5
- pub fn verify < ' a > ( start_at : impl IntoIterator < Item = & ' a Exercise > ) -> Result < ( ) , ( ) > {
5
+ pub fn verify < ' a > ( start_at : impl IntoIterator < Item = & ' a Exercise > ) -> Result < ( ) , ( ) > {
6
6
for exercise in start_at {
7
7
match exercise. mode {
8
8
Mode :: Test => test ( & exercise) ?,
You can’t perform that action at this time.
0 commit comments