mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 07:44:48 -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)
|
||
|
}
|