Browse Source

Update README.md

Marco Bambini 7 years ago
parent
commit
ff3a326a4c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -48,8 +48,8 @@ func main() {
 	// call + function in the vector object
 	var v3 = v1 + v2;
 	
-	// returns string "[5,7,9]"
-	return v3.String();
+	// returns string "[1,2,3] + [4,5,6] = [5,7,9]"
+    	return "\(v1) + \(v2) = \(v3)";
  }
  ```