From d82136cbdc91c598ef9997493aa577b1a349565e Mon Sep 17 00:00:00 2001 From: thebaron88 Date: Thu, 12 May 2022 09:38:26 +0100 Subject: [PATCH] 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 --- src/ch04-02-references-and-borrowing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch04-02-references-and-borrowing.md b/src/ch04-02-references-and-borrowing.md index bb82a74d7..060c344bb 100644 --- a/src/ch04-02-references-and-borrowing.md +++ b/src/ch04-02-references-and-borrowing.md @@ -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. -;String s pointing at String s1 +&String s pointing at String s1 Figure 4-5: A diagram of `&String s` pointing at `String s1`