From 16840ac2654e0099be6c9ccd8f4dfeb19aa0739c Mon Sep 17 00:00:00 2001 From: Himanshu Biradar <68207231+himanshubir@users.noreply.github.com> Date: Sat, 29 Jun 2024 03:20:12 -0400 Subject: [PATCH] Fix formatting for conditionalArgument on Rules.md (#1743) --- Rules.md | 2 -- Sources/Examples.swift | 2 -- 2 files changed, 4 deletions(-) diff --git a/Rules.md b/Rules.md index b3e9cd022..437b35a16 100644 --- a/Rules.md +++ b/Rules.md @@ -526,7 +526,6 @@ Option | Description + "bar" } -```diff - let foo: String - switch condition { + let foo = switch condition { @@ -537,7 +536,6 @@ Option | Description - foo = "bar" + "bar" } -``` // With --condassignment always (disabled by default) - switch condition { diff --git a/Sources/Examples.swift b/Sources/Examples.swift index dee7fd34e..f6cba9f33 100644 --- a/Sources/Examples.swift +++ b/Sources/Examples.swift @@ -1705,7 +1705,6 @@ private struct Examples { + "bar" } - ```diff - let foo: String - switch condition { + let foo = switch condition { @@ -1716,7 +1715,6 @@ private struct Examples { - foo = "bar" + "bar" } - ``` // With --condassignment always (disabled by default) - switch condition {