File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public extension String {
42
42
self . data ( using: . utf8) !. md5Hash
43
43
}
44
44
45
- /// A hexadecimal representaion of an MD5 hash of the string's UTF-8 representation.
45
+ /// A hexadecimal representation of an MD5 hash of the string's UTF-8 representation.
46
46
var md5String : String {
47
47
self . md5Hash. hexadecimalString!
48
48
}
@@ -299,7 +299,7 @@ public extension String {
299
299
///
300
300
/// - Parameter string: The string to search for.
301
301
///
302
- /// - Returns: `true` if the string contains `string`; `false` otherswise .
302
+ /// - Returns: `true` if the string contains `string`; `false` otherwise .
303
303
func caseInsensitiveContains( _ string: String ) -> Bool {
304
304
return self . range ( of: string, options: . caseInsensitive) != nil
305
305
}
Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ class MainThreadOperationTests: XCTestCase {
240
240
241
241
func run( ) {
242
242
guard let block = didStartRunBlock else {
243
- XCTFail ( " Unable to test cancelation of running operation. " )
243
+ XCTFail ( " Unable to test cancellation of running operation. " )
244
244
return
245
245
}
246
246
block ( )
You can’t perform that action at this time.
0 commit comments