Can anyone think of something you can do (the same concept) that will throw an exception in #javascript and return a Result in #rustlang??
-
-
@Carols10cents Thought I'd found one in from_str_radix, but Rust also panics on invalid radix given :P -
@Carols10cents https://doc.rust-lang.org/std/char/struct.DecodeUtf16.html … is unstable but seems to fit (vs. String.fromCodePoint in JavaScript). - 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
