summaryrefslogtreecommitdiffhomepage
path: root/pt-br/swift-pt.html.markdown
diff options
context:
space:
mode:
authorDamian Rzeszot <damian.rzeszot@gmail.com>2017-10-09 12:01:15 +0200
committerDamian Rzeszot <damian.rzeszot@gmail.com>2017-10-09 08:04:01 +0200
commitd01e5242e16c522becc1b04f9692d2556f94c4f1 (patch)
tree34cd07098fca315991ef660aa874317b7322b112 /pt-br/swift-pt.html.markdown
parent62d4b1483b850da0a99c2aa6c2da8b013e308f50 (diff)
swift | fix style guidelines
Diffstat (limited to 'pt-br/swift-pt.html.markdown')
-rw-r--r--pt-br/swift-pt.html.markdown10
1 files changed, 5 insertions, 5 deletions
diff --git a/pt-br/swift-pt.html.markdown b/pt-br/swift-pt.html.markdown
index ebf74b6f..bf410352 100644
--- a/pt-br/swift-pt.html.markdown
+++ b/pt-br/swift-pt.html.markdown
@@ -389,13 +389,13 @@ if mySquare === mySquare {
// Podem conter métodos do mesmo jeito que classes.
enum Suit {
- case Spades, Hearts, Diamonds, Clubs
+ case spades, hearts, diamonds, clubs
func getIcon() -> String {
switch self {
- case .Spades: return "♤"
- case .Hearts: return "♡"
- case .Diamonds: return "♢"
- case .Clubs: return "♧"
+ case .spades: return "♤"
+ case .hearts: return "♡"
+ case .diamonds: return "♢"
+ case .clubs: return "♧"
}
}
}