6 ms·
`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 http
by bascule 7y 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 https://doc.rust-lang.org/beta/nomicon/hrtb.html
- Rusky 7y agoYes, but it's not used that way in this snippet...