Skip to content

Commit 5ce5d24

Browse files
committed
Fix the code in according to guidelines
1 parent 811bdb4 commit 5ce5d24

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/sil-extract/basic.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,17 @@ struct X {
6969
}
7070

7171
class Vehicle {
72-
var num_of_wheels: Int
72+
var numOfWheels: Int
7373

7474
init(n: Int) {
75-
num_of_wheels = n
75+
numOfWheels = n
7676
}
7777

7878
func now() -> Int {
79-
return num_of_wheels;
79+
return numOfWheels
8080
}
8181
}
8282

8383
func foo() -> Int {
84-
return 7;
84+
return 7
8585
}

0 commit comments

Comments
 (0)