From f02facd56dcc5c87e77f708566e705e2c2fcc890 Mon Sep 17 00:00:00 2001 From: Martin Geisler <mgeisler@google.com> Date: Fri, 19 May 2023 15:43:44 +0200 Subject: [PATCH] Add missing newlines around `<details>` (#647) The newlines makes the text more uniform when extracted into the POT file (spotted while doing #646). --- src/basic-syntax/references.md | 1 + src/structs.md | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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. <details> + 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() { ``` <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.