update at 2022-02-23 23:09:51 by ehlxr

This commit is contained in:
ehlxr 2022-02-23 23:09:51 +08:00
parent 09406d01da
commit c8150fa580

View File

@ -21,7 +21,7 @@ pub extern "system" fn Java_me_ehlxr_HelloWorld_fetchNameStr(
}; };
let output = env let output = env
.new_string(format!("Hello{}! from Rust..", out_str)) .new_string(format!("Hello {}! from Rust..", out_str))
.expect("Couldn't create java string!"); .expect("Couldn't create java string!");
output.into_inner() output.into_inner()
} }