Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rustfmt
  • Loading branch information
ShaharNaveh committed Mar 26, 2026
commit 4c3b303610cf4a628429c296199e99ca218aba43
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use rustpython_vm::{Interpreter};
use rustpython_vm::Interpreter;

unsafe extern "C" {
fn kv_get(kp: i32, kl: i32, vp: i32, vl: i32) -> i32;
Expand Down Expand Up @@ -37,12 +37,7 @@ pub unsafe extern "C" fn eval(s: *const u8, l: usize) -> i32 {

let msg = format!("eval result: {result}");

unsafe {
print(
msg.as_str().as_ptr() as usize as i32,
msg.len() as i32,
)
};
unsafe { print(msg.as_str().as_ptr() as usize as i32, msg.len() as i32) };

0
}
Expand Down
Loading