Skip to content

Commit 69d79ab

Browse files
authored
Merge pull request Ranchero-Software#63 from rex4539/typos
Fix typos
2 parents 35285d2 + fa54e35 commit 69d79ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: Sources/RSCore/Shared/String+RSCore.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public extension String {
4242
self.data(using: .utf8)!.md5Hash
4343
}
4444

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.
4646
var md5String: String {
4747
self.md5Hash.hexadecimalString!
4848
}
@@ -299,7 +299,7 @@ public extension String {
299299
///
300300
/// - Parameter string: The string to search for.
301301
///
302-
/// - Returns: `true` if the string contains `string`; `false` otherswise.
302+
/// - Returns: `true` if the string contains `string`; `false` otherwise.
303303
func caseInsensitiveContains(_ string: String) -> Bool {
304304
return self.range(of: string, options: .caseInsensitive) != nil
305305
}

Diff for: Tests/RSCoreTests/MainThreadOperationTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ class MainThreadOperationTests: XCTestCase {
240240

241241
func run() {
242242
guard let block = didStartRunBlock else {
243-
XCTFail("Unable to test cancelation of running operation.")
243+
XCTFail("Unable to test cancellation of running operation.")
244244
return
245245
}
246246
block()

0 commit comments

Comments
 (0)