Skip to content

Commit b5e983d

Browse files
author
srutstein21
authored
Updated README
1 parent 358ea45 commit b5e983d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Palindromes/README.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ original String.
2525

2626
Here is a recursive implementation of this in Swift:
2727

28-
``swift
28+
```swift
2929
func palindromeCheck (text: String?) -> Bool {
3030
if let text = text {
3131
let mutableText = text.stringByTrimmingCharactersInSet(NSCharacterSet.whitespaceCharacterSet()).lowercaseString
@@ -45,7 +45,7 @@ func palindromeCheck (text: String?) -> Bool {
4545

4646
return false
4747
}
48-
``
48+
```
4949

5050

5151
This code can be tested in a playground using the following:

0 commit comments

Comments
 (0)