jni_tests/infra: reformat lib.rs.in with rustfmt
-use std::{cell::{Ref, RefCell, RefMut},
+use std::{
+ cell::{Ref, RefCell, RefMut},
path::{Path, PathBuf},
rc::Rc,
- time::SystemTime,
sync::{Arc, Mutex, MutexGuard},
+ time::SystemTime,
};
use chrono::{DateTime, Utc};
-use log::{error, debug};
+use log::{debug, error};
use crate::jni_c_header::*;
@@ -576,11 +577,13 @@ enum MyEnum {
Item3,
}
-foreign_enum!(enum MyEnum {
+foreign_enum!(
+ enum MyEnum {
ITEM1 = MyEnum::Item1,
ITEM2 = MyEnum::Item2,
ITEM3 = MyEnum::Item3,
-});
+ }
+);
#[derive(Default)]
struct Moo;
