diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-06-24 23:30:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-24 15:30:04 -0600 |
commit | a181ceb0e3791c842db6e8e6f528cf9ce320642a (patch) | |
tree | 0714537d8b91013f9253e65202e2dc596e977d01 /ops/op2/test_cases/sync/result_primitive.rs | |
parent | 4a18c761351dccb146973793cf22e6efffff18bf (diff) |
refactor(ops): op2 supports Result in slow call path (#19602)
Diffstat (limited to 'ops/op2/test_cases/sync/result_primitive.rs')
-rw-r--r-- | ops/op2/test_cases/sync/result_primitive.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ops/op2/test_cases/sync/result_primitive.rs b/ops/op2/test_cases/sync/result_primitive.rs new file mode 100644 index 000000000..6f68fa228 --- /dev/null +++ b/ops/op2/test_cases/sync/result_primitive.rs @@ -0,0 +1,4 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + +#[op2] +pub fn op_u32_with_result() -> Result<u32, AnyError> {} |