From c8150fa5800bd85a9afa0e662ac88d980a2665ce Mon Sep 17 00:00:00 2001 From: ehlxr Date: Wed, 23 Feb 2022 23:09:51 +0800 Subject: [PATCH] update at 2022-02-23 23:09:51 by ehlxr --- mylib/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mylib/src/lib.rs b/mylib/src/lib.rs index f9a44d3..14c1b9c 100644 --- a/mylib/src/lib.rs +++ b/mylib/src/lib.rs @@ -21,7 +21,7 @@ pub extern "system" fn Java_me_ehlxr_HelloWorld_fetchNameStr( }; 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!"); output.into_inner() }