mirror of
https://github.com/denoland/deno.git
synced 2024-12-12 02:27:46 -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)
|
||
|
}
|