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

Yes, but it's not used that way in this snippet...