Minor refactoring
This commit is contained in:
parent
e19e405781
commit
e4a574b240
16
src/lib.rs
16
src/lib.rs
@ -446,22 +446,10 @@ impl BenchmarkRepository
|
||||
false
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
//let origin = self.inner.repository.find_remote("origin").expect("could not find remote “origin”");
|
||||
|
||||
for reference in self.repository.references().unwrap().names()
|
||||
{
|
||||
println!("{}", reference.unwrap());
|
||||
}
|
||||
|
||||
println!("================");
|
||||
|
||||
use std::{thread, time};
|
||||
|
||||
let time = time::Duration::from_secs(2);
|
||||
|
||||
thread::sleep(time);
|
||||
std::thread::sleep(std::time::Duration::from_secs(2));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user