rust-lang / nomicon

The Dark Arts of Advanced and Unsafe Rust Programming
https://doc.rust-lang.org/nomicon/
Apache License 2.0
1.85k stars 268 forks source link

fix a typo #231

Closed lwintermelon closed 4 years ago

lwintermelon commented 4 years ago

it should be covariant, right?

nsmryan commented 4 years ago

There is one additional use of the word 'variant'!

 The lifetime will be bounded, and your iterator will be variant over 'a and T. 

should be

 The lifetime will be bounded, and your iterator will be covariant over 'a and T.