Y
Hacker News
new
|
ask
|
show
|
jobs
by
yarper
3400 days ago
for 1. there's map_err(..) which accepts a closure
e.g.
`try!(foo().map_err(|e| format!("{}", e.thing)));`
1 comments
ww520
3400 days ago
That's what I'm doing right now all over the place and I hate the boiler plate.
link
yarper
3400 days ago
ah, fair enough!
link