rust: Rerun rustfmt
Going to add a CI step next. Closes: #1674 Approved by: dustymabe
This commit is contained in:
parent
17359bc0cc
commit
6b5e475607
@ -76,7 +76,9 @@ impl ProgressState {
|
||||
}
|
||||
ProgressType::Percent => {
|
||||
let pb = ProgressBar::new(100);
|
||||
pb.set_style(style.template("{spinner} {prefix} {pos:>3}% [{bar:20}] ({eta}) {msg}"));
|
||||
pb.set_style(
|
||||
style.template("{spinner} {prefix} {pos:>3}% [{bar:20}] ({eta}) {msg}"),
|
||||
);
|
||||
pb
|
||||
}
|
||||
};
|
||||
@ -166,9 +168,9 @@ mod tests {
|
||||
|
||||
mod ffi {
|
||||
use super::*;
|
||||
use std::sync::MutexGuard;
|
||||
use ffiutil::*;
|
||||
use libc;
|
||||
use std::sync::MutexGuard;
|
||||
|
||||
fn assert_empty(m: &MutexGuard<Option<ProgressState>>) {
|
||||
if let Some(ref state) = **m {
|
||||
|
Loading…
Reference in New Issue
Block a user