Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As other have said: it can be solved in the library by defining a string type with the appropriate semantics (e.g. the MaybeOwned[1] type they refer to).

[1]: http://static.rust-lang.org/doc/master/std/str/enum.MaybeOwn...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: