rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
97.21k stars 12.56k forks source link

Dining Philosophers typo #26362

Closed zorbathut closed 9 years ago

zorbathut commented 9 years ago

Near the top of the Dining Philosophers book example, as displayed on https://doc.rust-lang.org/book/dining-philosophers.html :

Here, we make a [struct][struct] to represent a philosopher. For now, a name is all we need. We choose the [String][string] type for the name, rather than &str.

This seems to work fine on the Git page - https://github.com/rust-lang/rust/blob/master/src/doc/trpl/dining-philosophers.md - but one way or another, the main documentation site formatting is broken, showing just the brackets instead of a working link.

steveklabnik commented 9 years ago

This was a bug that has been fixed since the last release, check out the page at https://doc.rust-lang.org/beta/book/dining-philosophers.html

Thank you for reporting though!