From f6a6b541305311ff8fa8c3be6c0d85e67fca32c1 Mon Sep 17 00:00:00 2001 From: Kawahara Shotaro <121674121+k-taro56@users.noreply.github.com> Date: Wed, 22 May 2024 22:13:49 +0900 Subject: [PATCH] Fix `Function naming` rule code example (#2668) Co-authored-by: TBSten --- documentation/release-latest/docs/rules/standard.md | 2 +- documentation/snapshot/docs/rules/standard.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/release-latest/docs/rules/standard.md b/documentation/release-latest/docs/rules/standard.md index c8e3e3c472..2ce684bb89 100644 --- a/documentation/release-latest/docs/rules/standard.md +++ b/documentation/release-latest/docs/rules/standard.md @@ -469,7 +469,7 @@ Enforce naming of function. fun fooBar() {} - fun `fun` {} // Any keyword is allowed when wrapped between backticks + fun `fun`() {} // Any keyword is allowed when wrapped between backticks ``` === "[:material-heart:](#) Ktlint Test" diff --git a/documentation/snapshot/docs/rules/standard.md b/documentation/snapshot/docs/rules/standard.md index 2a869f66d1..cb3e331096 100644 --- a/documentation/snapshot/docs/rules/standard.md +++ b/documentation/snapshot/docs/rules/standard.md @@ -469,7 +469,7 @@ Enforce naming of function. fun fooBar() {} - fun `fun` {} // Any keyword is allowed when wrapped between backticks + fun `fun`() {} // Any keyword is allowed when wrapped between backticks ``` === "[:material-heart:](#) Ktlint Test"