mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
5 lines
138 B
Rust
5 lines
138 B
Rust
|
// https://github.com/denoland/deno/issues/16979
|
||
|
fn op_string_length(string: &str) -> Result<u32, AnyError> {
|
||
|
Ok(string.len() as u32)
|
||
|
}
|