mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: fix coding style
This commit is contained in:
@@ -37,8 +37,7 @@ for int_ty in all_integer_types(word_bits):
|
||||
extension String : StringInterpolationConvertible {
|
||||
/// Create an instance by concatenating the elements of `strings`.
|
||||
@effects(readonly)
|
||||
public
|
||||
init(stringInterpolation strings: String...) {
|
||||
public init(stringInterpolation strings: String...) {
|
||||
self.init()
|
||||
for str in strings {
|
||||
self += str
|
||||
@@ -46,8 +45,7 @@ extension String : StringInterpolationConvertible {
|
||||
}
|
||||
|
||||
/// Create an instance containing `expr`'s `print` representation.
|
||||
public
|
||||
init<T>(stringInterpolationSegment expr: T) {
|
||||
public init<T>(stringInterpolationSegment expr: T) {
|
||||
self = String(expr)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user