From d4a518dc0a211cc508edd49530d7efd7fd9309de Mon Sep 17 00:00:00 2001 From: David Alber Date: Sun, 11 Feb 2018 14:48:45 -0800 Subject: [PATCH] Fixing control flow examples --- Configurations.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/Configurations.md b/Configurations.md index 369e1ddfff7..353c1efd6d2 100644 --- a/Configurations.md +++ b/Configurations.md @@ -63,21 +63,24 @@ fn main() { #### `"Block"` (default): ```rust -if lorem_ipsum && - dolor_sit && - amet_consectetur -{ - // ... +fn main() { + if lorem_ipsum && dolor_sit && amet_consectetur && lorem_sit && dolor_consectetur && amet_ipsum + && lorem_consectetur + { + // ... + } } ``` #### `"Visual"`: ```rust -if lorem_ipsum && - dolor_sit && - amet_consectetur { - // ... +fn main() { + if lorem_ipsum && dolor_sit && amet_consectetur && lorem_sit && dolor_consectetur && amet_ipsum + && lorem_consectetur + { + // ... + } } ```