book icon indicating copy to clipboard operation
book copied to clipboard

Confusing text on Generic Types introduction

Open hwittenborn opened this issue 3 years ago • 1 comments

  • [x] I have checked the latest main branch to see if this has already been fixed
  • [x] I have searched existing issues and pull requests for duplicates

URL to the section(s) of the book with this problem:

https://doc.rust-lang.org/book/ch10-00-generics.html

Description of the problem:

I'm just now learning Rust, and this part in the Rust Book isn't making much sense to me:

generics: abstract stand-ins for concrete types or other properties

Suggested fix:

I'm still not quite sure what it means, but I'm sure I'll figure it out as I keep reading. I think it could probably be reworded a little bit, just so it makes more sense to a newer user.

hwittenborn avatar Jun 03 '22 20:06 hwittenborn

My main issue was that I didn't know what generics were, and that sentence on generics didn't seem to help much. It looks like Generics are finally explained here, maybe part of that could be moved further up or something?

hwittenborn avatar Jun 03 '22 20:06 hwittenborn