mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
11 lines
280 B
Rust
11 lines
280 B
Rust
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)
|
|
}
|