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