From 21cd98d3893ee908b1c2d19c82a0ac8c0a5bf1bf Mon Sep 17 00:00:00 2001 From: Will Crichton Date: Thu, 12 Sep 2024 17:02:16 -0700 Subject: [PATCH] Fix rendering issue w/ blockquote --- js-extensions/packages/consent-form/lib/index.tsx | 7 ++----- src/ch04-02-references-and-borrowing.md | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/js-extensions/packages/consent-form/lib/index.tsx b/js-extensions/packages/consent-form/lib/index.tsx index 61a0729b79..44f81ffeb8 100644 --- a/js-extensions/packages/consent-form/lib/index.tsx +++ b/js-extensions/packages/consent-form/lib/index.tsx @@ -18,11 +18,8 @@ let ConsentForm = () => {

What is this?

- This website is an experiment by Brown University researchers{" "} - Will Crichton,{" "} - Gavin Gray, and{" "} - Shriram Krishnamurthi. The goal of this - experiment is to evaluate and improve the content of the Rust Book to help people + This website is an experiment by the Cognitive Engineering Lab at Brown University.{" "} + The goal of this experiment is to evaluate and improve the content of the Rust Book to help people learn Rust more effectively.

diff --git a/src/ch04-02-references-and-borrowing.md b/src/ch04-02-references-and-borrowing.md index 98a0675dde..151c1393b6 100644 --- a/src/ch04-02-references-and-borrowing.md +++ b/src/ch04-02-references-and-borrowing.md @@ -296,7 +296,7 @@ println!("Vector is now {:?}", v); #} ``` ->
Note: when the expected permissions are not strictly relevant to an example, we will abbreviate them as dots like
R
W
. You can hover your mouse over the circles (or tap on a touchscreen) to see the corresponding permission letters.
+
Note: when the expected permissions are not strictly relevant to an example, we will abbreviate them as dots like
R
W
. You can hover your mouse over the circles (or tap on a touchscreen) to see the corresponding permission letters.
A mutable reference is created with the `&mut` operator. The type of `num` is written as `&mut i32`. Compared to immutable references, you can see two important differences in the permissions: