Correct doc syntax

This commit is contained in:
Vitalii Elenhaupt 2017-10-31 23:31:56 +02:00
parent 6d9f1c67ed
commit 6cef83f9a9
No known key found for this signature in database
GPG key ID: 7558EF3A4056C706
2 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
#
# For example, these are considered invalid:
#
# ```crystal
# ```
# foo == true
# bar != false
# false === baz

View file

@ -2,7 +2,7 @@
#
# For example, the rule considers these valid:
#
# ```crystal
# ```
# unless something
# :ok
# end
@ -16,7 +16,7 @@
#
# But it considers this one invalid as it is an `unless` with an `else`:
#
# ```crystal
# ```
# unless something
# :one
# else
@ -27,7 +27,7 @@
# The solution is to swap the order of the blocks, and change the `unless` to
# an `if`, so the previous invalid example would become this:
#
# ```crystal
# ```
# if something
# :two
# else