Skip to content

Commit a9e64c4

Browse files
committed
Fix warnings
1 parent 3891aeb commit a9e64c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Playgrounds/Storage.playground/Contents.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ try dateStorage.setObject(date, forKey: "date")
5353
//
5454
//// Get objects from the cache
5555
let cachedString = try? stringStorage.object(forKey: "string")
56-
print(cachedString)
56+
print(cachedString as Any)
5757

5858
imageStorage.async.object(forKey: "image") { result in
5959
if case .value(let image) = result {
@@ -74,7 +74,7 @@ dateStorage.async.object(forKey: "date") { result in
7474
}
7575

7676
// Clean the cache
77-
try dataStorage.async.removeAll(completion: { (result) in
77+
dataStorage.async.removeAll(completion: { (result) in
7878
if case .value = result {
7979
print("Cache cleaned")
8080
}

0 commit comments

Comments
 (0)