diff --git a/src/basic-syntax/references.md b/src/basic-syntax/references.md index 0bb64fdf..b03fd631 100644 --- a/src/basic-syntax/references.md +++ b/src/basic-syntax/references.md @@ -19,6 +19,7 @@ Some notes: * References that are declared as `mut` can be bound to different values over their lifetime.
+ Key points: * Be sure to note the difference between `let mut ref_x: &i32` and `let ref_x: diff --git a/src/structs.md b/src/structs.md index e735e0aa..633573c5 100644 --- a/src/structs.md +++ b/src/structs.md @@ -27,7 +27,8 @@ fn main() { ```
-Key Points: + +Key Points: * Structs work like in C or C++. * Like in C++, and unlike in C, no typedef is needed to define a type.