Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Fix some spelling typos #3

Merged
merged 1 commit into from
Nov 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lift/Jar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Foundation
/// For a value to be liftable it must conform to `Liftable` or `JarConvertible`
public struct Jar {
internal var object: Object
internal var key: () -> String = { "" } // Capturing of the current key used for lazy evalution (to avoid a peformance hit for happy cases)
internal var key: () -> String = { "" } // Capturing of the current key used for lazy evaluation (to avoid a peformance hit for happy cases)
public var context: Context = []
}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ struct LiftError: Error {
}
```

Because the context and key-path are really valuable during debugging, it's important to not loose those when throwing validation errors. Hence, Lift has added assert helper methods to `Jar` that you should use:
Because the context and key-path are really valuable during debugging, it's important to not lose those when throwing validation errors. Hence, Lift has added assert helper methods to `Jar` that you should use:

```swift
init(jar: Jar) throws {
Expand Down