# Adding Const Generics section to Rust Book

**URL:** <https://internals.rust-lang.org/t/adding-const-generics-section-to-rust-book/14966>\
**Category:** documentation\
**Created:** [July 1, 2021, 10:11pm UTC](https://internals.rust-lang.org/t/adding-const-generics-section-to-rust-book/14966 "2021-07-01T22:11:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bounty-Seeker](https://avatars.discourse-cdn.com/v4/letter/b/a8b319/32.png) [@Bounty-Seeker](https://internals.rust-lang.org/u/Bounty-Seeker)\
**Post date:** [July 1, 2021, 10:11pm UTC](https://internals.rust-lang.org/t/adding-const-generics-section-to-rust-book/14966/1 "2021-07-01T22:11:55Z")

</div>

Hi

I have recently written a new section at the end of chapter 19 covering const generics for the rust book and have just created the pull request for it. In it I have made multiple points about how const generics works and how the compiler works around them. If possible, if you get the chance, please check it out let me know of any errors (especially in regards to my statements concerning how the compiler works), corrections that I need to make or additions you believe would help.

Link to the pull request : [link](https://github.com/rust-lang/book/pull/2776)

Note: you will need [mdbook](https://rust-lang.github.io/mdBook/) to build the book and see all its code examples

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [September 29, 2021, 10:12pm UTC](https://internals.rust-lang.org/t/adding-const-generics-section-to-rust-book/14966/2 "2021-09-29T22:12:44Z")

</div>

Closed on September 29, 2021, 10:12pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
