mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
normalize rids (#9832)
This commit is contained in:
parent
277e19f4d2
commit
197305908b
8 changed files with 55 additions and 57 deletions
|
@ -178,7 +178,7 @@ fn op_run(
|
|||
#[derive(Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct RunStatusArgs {
|
||||
rid: i32,
|
||||
rid: u32,
|
||||
}
|
||||
|
||||
async fn op_run_status(
|
||||
|
@ -186,7 +186,7 @@ async fn op_run_status(
|
|||
args: RunStatusArgs,
|
||||
_zero_copy: BufVec,
|
||||
) -> Result<Value, AnyError> {
|
||||
let rid = args.rid as u32;
|
||||
let rid = args.rid;
|
||||
|
||||
{
|
||||
let s = state.borrow();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue