Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dbaupp
on May 6, 2014
|
parent
|
context
|
favorite
| on:
Rust for C++ programmers – part 5: borrowed refere...
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:
[1]: http://static.rust-lang.org/doc/master/std/str/enum.MaybeOwn...