mirror of
https://github.com/rust-lang/book.git
synced 2026-04-02 09:24:13 -04:00
Fix #3152 - Wrong character used
PR #3152 fixed the invalid alt text (so it correctly validates), but was the wrong character. & is the correct ampersand, ; was a semicolon
This commit is contained in:
committed by
Carol (Nichols || Goulding)
parent
7c5cf613ca
commit
d82136cbdc
@@ -25,7 +25,7 @@ function return value is gone. Second, note that we pass `&s1` into
|
||||
`String`. These ampersands represent *references*, and they allow you to refer
|
||||
to some value without taking ownership of it. Figure 4-5 depicts this concept.
|
||||
|
||||
<img alt=";String s pointing at String s1" src="img/trpl04-05.svg" class="center" />
|
||||
<img alt="&String s pointing at String s1" src="img/trpl04-05.svg" class="center" />
|
||||
|
||||
<span class="caption">Figure 4-5: A diagram of `&String s` pointing at `String
|
||||
s1`</span>
|
||||
|
||||
Reference in New Issue
Block a user