deno.land / x / deno@v1.28.2 / ops / optimizer_tests / param_mut_binding_warning.rs

param_mut_binding_warning.rs
1
2
3
4
5
6
7
8
9
10
11
12
fn op_read_sync( state: &mut OpState, rid: ResourceId, mut buf: ZeroCopyBuf,) -> Result<u32, AnyError> { // Should not warn about unused `mut buf` binding. // // This was caused due to incorrect codegen by fast_call.rs // on an incompatible op function. Ok(23)}
deno

Version Info

Tagged at
a year ago