about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-05-17 11:55:38 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-05-17 11:55:38 +0530
commita25925a3d44f3a954b23904c65837e84161beb41 (patch)
treec01a48746d8eca5d47f52abb22c4081c287cb15e /src/liballoc_system
parente06eb1c73338507ea14839a850377579b376b4c9 (diff)
parentd5394d00d14335cf729aa87dfe6af77254633223 (diff)
downloadrust-a25925a3d44f3a954b23904c65837e84161beb41.tar.gz
rust-a25925a3d44f3a954b23904c65837e84161beb41.zip
Rollup merge of #25472 - WillEngler:book-tiny-typo-fixes, r=alexcrichton
This PR fixes two little typos in the Dining Philosophers example.

Also, there are two style points that may have been oversights but may have been deliberate, so I'll just bring them up here:

1) In the last paragraph, you say

> You’ll notice we can introduce a new binding to `table` here, and it will shadow the old one. This is often used so that you don’t need to come up with two unique names.

You already said something similar to this in the Guessing Game, but maybe you intended for this example to be independent of that one.

2) In "Rust Inside Other Languages," you introduce the idea of the "global interpreter lock" and then refer to it as the GIL a few paragraphs later without explicitly stating that GIL == global interpreter lock. It's reasonable to expect readers to make the connection, but maybe that's not what you intended.

Excellent work on the examples! Congrats on 1.0!

r? @steveklabnik
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions