Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
rascul
1y ago
0 comments
Save
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
1 comments · 1 top-level
top
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