Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
rascul
1y ago
0 comments
Share
Many error types implement std::error::Error, maybe using that would make things easier.
An example:
https://play.rust-lang.org/?version=stable&mode=debug&editio...
0 comments
default
newest
oldest
ryandrake
1y ago
Hmm, I think I tried this a few times, but I could never get the right magical combination of dyn, Box<> and & to get it to compile.
j
/
k
navigate · click thread line to collapse