wduquette / molt

Embeddable TCL Interpreter for Rust applications
BSD 3-Clause "New" or "Revised" License
103 stars 12 forks source link

Value::as_string becomes Value::as_str. #42

Closed wduquette closed 4 years ago

wduquette commented 4 years ago

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.