Skip to content

Commit 5bbc447

Browse files
committed
chore: Run rustfmt so actions stop whining
1 parent 3141404 commit 5bbc447

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/droidplug/adapter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ use crate::{
1010
common::adapter_manager::AdapterManager,
1111
Error, Result,
1212
};
13-
use jni::objects::JClass;
14-
use jni_utils::exceptions::try_block;
1513
use async_trait::async_trait;
1614
use futures::stream::Stream;
15+
use jni::objects::JClass;
1716
use jni::{
1817
objects::{GlobalRef, JObject, JString},
1918
strings::JavaStr,
2019
sys::jboolean,
2120
JNIEnv,
2221
};
22+
use jni_utils::exceptions::try_block;
2323
use std::{
2424
fmt::{Debug, Formatter},
2525
pin::Pin,

src/droidplug/jni/objects.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ impl<'a: 'b, 'b> JPeripheral<'a, 'b> {
103103
"writeDescriptor",
104104
"(Ljava/util/UUID;Ljava/util/UUID;[BI)Lio/github/gedgygedgy/rust/future/Future;",
105105
)?;
106-
let get_device_name =
107-
env.get_method_id(class, "getDeviceName", "()Ljava/lang/String;")?;
106+
let get_device_name = env.get_method_id(class, "getDeviceName", "()Ljava/lang/String;")?;
108107
Ok(Self {
109108
internal: obj,
110109
connect,

0 commit comments

Comments
 (0)