From 5febe8512d895d2fc04b74f9641d35f5ecc3ce05 Mon Sep 17 00:00:00 2001 From: Kirk Haines Date: Sat, 23 Apr 2022 08:58:11 -0600 Subject: [PATCH] Fix a couple small documentation errors with formatting. --- src/defined.cr | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/defined.cr b/src/defined.cr index ce16d4e..3ee79a7 100644 --- a/src/defined.cr +++ b/src/defined.cr @@ -138,6 +138,7 @@ end # if_version?("Crystal", :>, "1.0.0") do # # Do a thing that only works on Crystal 1.0.0 and later # end +# ``` # # #### Caveats # @@ -256,6 +257,8 @@ macro if_version?(const, comparison, value, &code) {% end %} end +# See the documentation for `#if_version?`. +# macro unless_version?(const, comparison, value, &code) {% parts = [] of String