Skip to content

Commit

Permalink
Add _ prefix for unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
dkomanov committed Feb 6, 2023
1 parent 1304654 commit 16f9f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rs/simple_jni_lib/simplejni.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use jni::sys::jstring;

#[no_mangle]
pub extern "system" fn Java_com_komanov_jni_rs_bin_Native_greet(env: JNIEnv,
class: JClass,
_class: JClass,
input: JString)
-> jstring {
// First, we have to get the string out of Java. Check out the `strings`
Expand Down

0 comments on commit 16f9f63

Please sign in to comment.