代码编写错误修正

代码中少写了一个空格,导致编译错误。  特此修正
This commit is contained in:
TheLittleBoy
2014-06-29 22:32:14 +08:00
parent ce63ac6968
commit dcc70e1782

View File

@ -230,7 +230,7 @@ class Dice {
self.generator = generator
}
func roll() -> Int {
return Int(generator.random() * Double(sides)) +1
return Int(generator.random() * Double(sides)) + 1
}
}
```