Skip to content

Commit 46e3014

Browse files
committed
doc: that felt like it needed a stronger break than what comma provides
Remove trailing whitespace while at it
1 parent ccae356 commit 46e3014

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ upper bound is exclusive, though, so our loop will print `0` through `9`, not
13191319

13201320
Rust does not have the "C style" `for` loop on purpose. Manually controlling
13211321
each element of the loop is complicated and error prone, even for experienced C
1322-
developers.
1322+
developers.
13231323

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

@@ -4273,7 +4273,7 @@ very common with iterators: we can ignore unnecessary bounds checks, but still
42734273
know that we're safe.
42744274

42754275
There's another detail here that's not 100% clear because of how `println!`
4276-
works. `num` is actually of type `&int`, that is, it's a reference to an `int`,
4276+
works. `num` is actually of type `&int`. That is, it's a reference to an `int`,
42774277
not an `int` itself. `println!` handles the dereferencing for us, so we don't
42784278
see it. This code works fine too:
42794279

0 commit comments

Comments
 (0)