summaryrefslogtreecommitdiffhomepage
path: root/swift.html.markdown
diff options
context:
space:
mode:
authorNami-Doc <vendethiel@hotmail.fr>2014-08-28 12:31:40 -0400
committerNami-Doc <vendethiel@hotmail.fr>2014-08-28 12:31:40 -0400
commit6f5f6016601f8ba6168622a013b1eaae1a945b24 (patch)
tree6cd88ea0cca1e09f5318a00bf7bc60d144feca89 /swift.html.markdown
parent013112b9b338d5f05d33e6d1d85e39e7f061285d (diff)
parentc9400c2a7d5262651884fffecda83ace1bfc4d97 (diff)
Merge pull request #737 from agelber/fix_swift_class_name
[swift/en]Fix class name from Rect to Square
Diffstat (limited to 'swift.html.markdown')
-rw-r--r--swift.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/swift.html.markdown b/swift.html.markdown
index a0ea8519..6d98b067 100644
--- a/swift.html.markdown
+++ b/swift.html.markdown
@@ -157,7 +157,7 @@ print(numbers) // [3, 6, 18]
// structured object, you should use a `struct`
// A simple class `Square` extends `Shape`
-class Rect: Shape {
+class Square: Shape {
var sideLength: Int = 1
// Custom getter and setter property