Originally, Value::as_string returned Rc<String>. A little while ago I changed it to return &str; and that means, per Rust's naming convention, it should really be called Value::as_str. This makes the change; and also updated the Molt Book accordingly.
Originally,
Value::as_string
returnedRc<String>
. A little while ago I changed it to return&str
; and that means, per Rust's naming convention, it should really be calledValue::as_str
. This makes the change; and also updated the Molt Book accordingly.