Skip to content

Commit

Permalink
ZError: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
DariusIMP committed Sep 19, 2024
1 parent eee6071 commit 481fb52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions zenoh-jni/src/publisher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ use jni::{
};
use zenoh::{pubsub::Publisher, Wait};

use crate::throw_exception;
use crate::{
errors::ZResult,
utils::{decode_byte_array, decode_encoding}, zerror,
utils::{decode_byte_array, decode_encoding},
zerror,
};
use crate::{throw_exception};

/// Performs a PUT operation on a Zenoh publisher via JNI.
///
Expand Down
4 changes: 1 addition & 3 deletions zenoh-jni/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@

use std::sync::Arc;

use crate::utils::{decode_byte_array, decode_encoding};
use crate::zerror;
use crate::{errors::ZResult, key_expr::process_kotlin_key_expr, throw_exception};
use crate::{
utils::{decode_byte_array, decode_encoding},
};
use jni::{
objects::{JByteArray, JClass, JString},
sys::{jboolean, jint, jlong},
Expand Down

0 comments on commit 481fb52

Please sign in to comment.