diff options
Diffstat (limited to 'ops/op2/test_cases/sync/string_cow.rs')
-rw-r--r-- | ops/op2/test_cases/sync/string_cow.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ops/op2/test_cases/sync/string_cow.rs b/ops/op2/test_cases/sync/string_cow.rs new file mode 100644 index 000000000..ed4dfca82 --- /dev/null +++ b/ops/op2/test_cases/sync/string_cow.rs @@ -0,0 +1,4 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + +#[op2(fast)] +fn op_string_cow(#[string] s: Cow<str>) -> u32 {} |