This draft RFC proposes a backwards-incompatible change to the JsString::new() API to make it infallible, along with a JsString::try_new() companion API for explicitly handling the (rare) error case of overflowing the maximum string length limit.
📢 This RFC is going into final comment period! We will plan to merge it within a week if there aren't significant new issues that arise in the next week. 📢
This draft RFC proposes a backwards-incompatible change to the
JsString::new()
API to make it infallible, along with aJsString::try_new()
companion API for explicitly handling the (rare) error case of overflowing the maximum string length limit.Rendered