rust: fixes for box auto-borrow
rust: str::from_chars -> String::from_chars