Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
small_scombrus
· 6mo ago · 0 comments
It'll depend immensely on what you're actually doing, but if it's simple enough you may be able to make a macro that subs out the types & awaits
Comments
[–]
conaclos
6mo ago
One of the issue I face is a blocking function that takes a generic constrained by a `trait` and its async version takes a generic constrained by an `async trait`.