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: # For example, these are considered invalid:
# #
# ```crystal # ```
# foo == true # foo == true
# bar != false # bar != false
# false === baz # false === baz

View file

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