Y
Hacker News
new
|
ask
|
show
|
jobs
by
tjdetwiler
1212 days ago
You can still return the str reference; callers can easily do the copy if they need while allowing for zero-copy for simpler usages.