Y
Hacker News
new
|
ask
|
show
|
jobs
by
bascule
2391 days ago
`for` used in a bound (in conjunction with a lifetime) is the syntax for Higher-Rank Trait Bounds (HRTB):
https://doc.rust-lang.org/beta/nomicon/hrtb.html
1 comments
Rusky
2387 days ago
Yes, but it's not used that way in this snippet...
link