質問編集履歴

1

インデントの幅を修正

2020/07/07 04:09

投稿

xekdwpsg
xekdwpsg

スコア20

test CHANGED
File without changes
test CHANGED
@@ -34,7 +34,7 @@
34
34
 
35
35
  func getRandomString(length: Int) -> String {
36
36
 
37
- return (0..<length).map {getRandomCharacter()}.joined()
37
+ return (0..<length).map {getRandomCharacter()}.joined()
38
38
 
39
39
  }
40
40
 
@@ -50,7 +50,7 @@
50
50
 
51
51
  func getRandomString(length: Int) -> String {
52
52
 
53
- return (0..<length).map {$0}.map {getRandomCharacter()}.joined()
53
+ return (0..<length).map {$0}.map {getRandomCharacter()}.joined()
54
54
 
55
55
  }
56
56