summaryrefslogtreecommitdiffhomepage
path: root/pt-pt
diff options
context:
space:
mode:
authorDamian Rzeszot <damian.rzeszot@gmail.com>2017-10-09 12:02:29 +0200
committerDamian Rzeszot <damian.rzeszot@gmail.com>2017-10-09 08:04:01 +0200
commit9a9e52b54bf9bc6ebeefc996452f5944a234557f (patch)
tree30916f02c2efb69ce374cd8aa8de863b7613260b /pt-pt
parentd01e5242e16c522becc1b04f9692d2556f94c4f1 (diff)
swift | fix style guidelines
Diffstat (limited to 'pt-pt')
-rw-r--r--pt-pt/swift-pt.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/pt-pt/swift-pt.html.markdown b/pt-pt/swift-pt.html.markdown
index f7fab423..5de2e13b 100644
--- a/pt-pt/swift-pt.html.markdown
+++ b/pt-pt/swift-pt.html.markdown
@@ -463,10 +463,10 @@ var suitValue: Suit = .hearts
// Enums que não sejam inteiros obrigam a atribuições valor bruto (raw value) diretas
enum BookName: String {
- case John = "John"
- case Luke = "Luke"
+ case john = "John"
+ case luke = "Luke"
}
-print("Name: \(BookName.John.rawValue)")
+print("Name: \(BookName.john.rawValue)")
// Enum com valores associados
enum Furniture {