From 55c2e3b1a445bc4b6cdf4dd5113871cfd1170c7a Mon Sep 17 00:00:00 2001 From: Phil Ellison Date: Mon, 19 Jun 2017 19:43:38 +0100 Subject: [PATCH] Fix control_style example --- Configurations.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/Configurations.md b/Configurations.md index 0fcbd1e2af3..a436e5159c5 100644 --- a/Configurations.md +++ b/Configurations.md @@ -273,11 +273,9 @@ Indent style for control flow statements #### `"Rfc"`: ```rust -// Conditional expression containing line-break -if lorem( - ipsum, - dolor, -) +if lorem_ipsum && + dolor_sit && + amet_consectetur { // ... } @@ -286,11 +284,9 @@ if lorem( #### `"Legacy"`: ```rust -// Conditional expression containing line-break -if lorem( - ipsum, - dolor, -) { +if lorem_ipsum && + dolor_sit && + amet_consectetur { // ... } ```