Skip to content

Commit a6a6af2

Browse files
committed
Align comments vertically
This got incorrectly changed as part of normalizing code listing indentation in commit 28a4aaf (Bulk replace 3 -> 4 space indents, 2022-10-24). The first line in each chunk matched the regex and got one space removed, but the following lines didn't. References: 28a4aaf
1 parent 8b7826c commit a6a6af2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

TSPL.docc/LanguageGuide/AccessControl.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,25 +231,25 @@ the default access level of the type's members will be internal.
231231
> and avoids presenting the internal workings of a type as public API by mistake.
232232
233233
```swift
234-
public class SomePublicClass { // explicitly public class
234+
public class SomePublicClass { // explicitly public class
235235
public var somePublicProperty = 0 // explicitly public class member
236236
var someInternalProperty = 0 // implicitly internal class member
237237
fileprivate func someFilePrivateMethod() {} // explicitly file-private class member
238238
private func somePrivateMethod() {} // explicitly private class member
239239
}
240240

241-
class SomeInternalClass { // implicitly internal class
241+
class SomeInternalClass { // implicitly internal class
242242
var someInternalProperty = 0 // implicitly internal class member
243243
fileprivate func someFilePrivateMethod() {} // explicitly file-private class member
244244
private func somePrivateMethod() {} // explicitly private class member
245245
}
246246

247-
fileprivate class SomeFilePrivateClass { // explicitly file-private class
247+
fileprivate class SomeFilePrivateClass { // explicitly file-private class
248248
func someFilePrivateMethod() {} // implicitly file-private class member
249249
private func somePrivateMethod() {} // explicitly private class member
250250
}
251251

252-
private class SomePrivateClass { // explicitly private class
252+
private class SomePrivateClass { // explicitly private class
253253
func somePrivateMethod() {} // implicitly private class member
254254
}
255255
```

0 commit comments

Comments
 (0)