mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 00:00:05 +03:00
Add clear break between verify executions
This commit is contained in:
parent
4d7ce6e571
commit
6cd42bb821
|
@ -84,10 +84,12 @@ fn watch() -> notify::Result<()> {
|
||||||
let _ignored = verify(None);
|
let _ignored = verify(None);
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
match rx.recv() {
|
match rx.recv() {
|
||||||
Ok(event) => match event {
|
Ok(event) => match event {
|
||||||
DebouncedEvent::Create(b) | DebouncedEvent::Chmod(b) | DebouncedEvent::Write(b) => {
|
DebouncedEvent::Create(b) | DebouncedEvent::Chmod(b) | DebouncedEvent::Write(b) => {
|
||||||
if b.extension() == Some(OsStr::new("rs")) {
|
if b.extension() == Some(OsStr::new("rs")) {
|
||||||
|
println!("----------**********----------");
|
||||||
|
println!();
|
||||||
let _ignored = verify(Some(b.as_path().to_str().unwrap()));
|
let _ignored = verify(Some(b.as_path().to_str().unwrap()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue