Skip to content

Commit b85191a

Browse files
committed
dave hates jokes 😉
1 parent 6511064 commit b85191a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/doc/guide.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,10 +1326,7 @@ upper bound is exclusive, though, so our loop will print `0` through `9`, not
13261326

13271327
Rust does not have the "C style" `for` loop on purpose. Manually controlling
13281328
each element of the loop is complicated and error prone, even for experienced C
1329-
developers. There's an old joke that goes, "There are two hard problems in
1330-
computer science: naming things, cache invalidation, and off-by-one errors."
1331-
The joke, of course, being that the setup says "two hard problems" but then
1332-
lists three things. This happens quite a bit with "C style" `for` loops.
1329+
developers.
13331330

13341331
We'll talk more about `for` when we cover **iterator**s, later in the Guide.
13351332

0 commit comments

Comments
 (0)