r Follow more standard Swift formatting around spaces

This commit is contained in:
Jon Reid committed 2021-08-20 18:56:48 -07:00
1 parent 84287f428b
commit 569b40fc1d
1 file changed
+3 -3
+3 -3
View File
@@ -1,12 +1,12 @@
public class GildedRose {
var items:[Item]
var items: [Item]
public init(items:[Item]) {
public init(items: [Item]) {
self.items = items
}
public func updateQuality() {
for i in 0..<items.count {
for i in 0 ..< items.count {
if (items[i].name != "Aged Brie" && items[i].name != "Backstage passes to a TAFKAL80ETC concert") {
if (items[i].quality > 0) {
if (items[i].name != "Sulfuras, Hand of Ragnaros") {