1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-22 23:05:22 +02:00

Add missing newlines around <details> (#647)

The newlines makes the text more uniform when extracted into the POT
file (spotted while doing #646).
This commit is contained in:
Martin Geisler 2023-05-19 15:43:44 +02:00 committed by GitHub
parent b9959bfeb1
commit f02facd56d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,7 @@ Some notes:
* References that are declared as `mut` can be bound to different values over their lifetime.
<details>
Key points:
* Be sure to note the difference between `let mut ref_x: &i32` and `let ref_x:

View File

@ -27,7 +27,8 @@ fn main() {
```
<details>
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.