mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -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)
|
|
}
|