rubychan / coderay

Fast and easy syntax highlighting for selected languages, written in Ruby.
http://coderay.rubychan.de/
Other
845 stars 115 forks source link

Remove the statement that is not always reached. #227

Closed junaruga closed 5 years ago

junaruga commented 5 years ago

If the element is nil, it is returned on below line. The when nil statement is not always reached.

return self if not element or element == wrapped_in
korny commented 5 years ago

Makes sense, thanks.