From 9066d2b00510f2d9f2059760b79347fefcb16cee Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Mon, 10 Jan 2022 10:51:18 -0600 Subject: [PATCH] Make formatting more consistent. --- src/backends/android.rs | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/backends/android.rs b/src/backends/android.rs index c47d86a..5856890 100644 --- a/src/backends/android.rs +++ b/src/backends/android.rs @@ -1,14 +1,18 @@ #[cfg(target_os = "android")] -use std::collections::HashSet; -use std::ffi::{CStr, CString}; -use std::os::raw::c_void; -use std::sync::{Mutex, RwLock}; -use std::thread; -use std::time::{Duration, Instant}; +use std::{ + collections::HashSet, + ffi::{CStr, CString}, + os::raw::c_void, + sync::{Mutex, RwLock}, + thread, + time::{Duration, Instant}, +}; -use jni::objects::{GlobalRef, JObject, JString}; -use jni::sys::{jfloat, jint, JNI_VERSION_1_6}; -use jni::{JNIEnv, JavaVM}; +use jni::{ + objects::{GlobalRef, JObject, JString}, + sys::{jfloat, jint, JNI_VERSION_1_6}, + JNIEnv, JavaVM, +}; use lazy_static::lazy_static; use log::{error, info};