@@ -201,7 +201,7 @@ enum DisplayType {
201201
202202extension Dictionary {
203203 func display( _ indent: Int = 0 , type: DisplayType = . Primary) {
204- let indentation = String ( repeating: Character ( " " ) , count: indent * 2 )
204+ let indentation = String ( repeating: " " , count: indent * 2 )
205205 if type == . Primary || type == . Key {
206206 print ( " \( indentation) [ \n " , terminator: " " )
207207 } else {
@@ -224,7 +224,7 @@ extension Dictionary {
224224
225225extension Array {
226226 func display( _ indent: Int = 0 , type: DisplayType = . Primary) {
227- let indentation = String ( repeating: Character ( " " ) , count: indent * 2 )
227+ let indentation = String ( repeating: " " , count: indent * 2 )
228228 if type == . Primary || type == . Key {
229229 print ( " \( indentation) [ \n " , terminator: " " )
230230 } else {
@@ -242,7 +242,7 @@ extension Array {
242242
243243extension String {
244244 func display( _ indent: Int = 0 , type: DisplayType = . Primary) {
245- let indentation = String ( repeating: Character ( " " ) , count: indent * 2 )
245+ let indentation = String ( repeating: " " , count: indent * 2 )
246246 if type == . Primary {
247247 print ( " \( indentation) \" \( self ) \" \n " , terminator: " " )
248248 }
@@ -256,7 +256,7 @@ extension String {
256256
257257extension Bool {
258258 func display( _ indent: Int = 0 , type: DisplayType = . Primary) {
259- let indentation = String ( repeating: Character ( " " ) , count: indent * 2 )
259+ let indentation = String ( repeating: " " , count: indent * 2 )
260260 if type == . Primary {
261261 print ( " \( indentation) \" \( self ? " 1 " : " 0 " ) \" \n " , terminator: " " )
262262 }
@@ -270,7 +270,7 @@ extension Bool {
270270
271271extension NSNumber {
272272 func display( _ indent: Int = 0 , type: DisplayType = . Primary) {
273- let indentation = String ( repeating: Character ( " " ) , count: indent * 2 )
273+ let indentation = String ( repeating: " " , count: indent * 2 )
274274 if type == . Primary {
275275 print ( " \( indentation) \" \( self ) \" \n " , terminator: " " )
276276 }
@@ -284,7 +284,7 @@ extension NSNumber {
284284
285285extension NSData {
286286 func display( _ indent: Int = 0 , type: DisplayType = . Primary) {
287- let indentation = String ( repeating: Character ( " " ) , count: indent * 2 )
287+ let indentation = String ( repeating: " " , count: indent * 2 )
288288 if type == . Primary {
289289 print ( " \( indentation) \" \( self ) \" \n " , terminator: " " )
290290 }
0 commit comments