Skip to content

Commit 610138e

Browse files
committed
UTF-8 the docs
Signed-off-by: Stephen Celis <stephen@stephencelis.com>
1 parent 036288a commit 610138e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

SQLite/Database.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ public final class Database {
491491
///
492492
/// :param: block A block of code to run when the function is
493493
/// called. The block is called with an array of raw
494-
/// SQL values mapped to the function's parameters and
494+
/// SQL values mapped to the functions parameters and
495495
/// should return a raw SQL value (or nil).
496496
public func create(#function: String, argc: Int = -1, deterministic: Bool = false, _ block: (args: [Binding?]) -> Binding?) {
497497
try {

SQLite/Expression.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public struct Expression<T> {
129129
return expression
130130
}
131131

132-
// naïve compiler for statements that can't be bound, e.g., CREATE TABLE
132+
// naïve compiler for statements that cant be bound, e.g., CREATE TABLE
133133
internal func compile() -> String {
134134
var idx = 0
135135
return reduce(SQL, "") { SQL, character in
@@ -791,7 +791,7 @@ public typealias Setter = (Expressible, Expressible)
791791
///
792792
/// :param: value The value the column is being set to.
793793
///
794-
/// :returns: A setter that can be used in a Query's insert and update
794+
/// :returns: A setter that can be used in a Querys insert and update
795795
/// functions.
796796
public func set<V: Value>(column: Expression<V>, value: V) -> Setter {
797797
return (column, Expression<()>(value: value))

SQLite/Statement.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public func || (lhs: Statement, @autoclosure rhs: () -> Statement) -> Statement
240240
return lhs.failed ? rhs() : lhs
241241
}
242242

243-
/// Cursors provide direct access to a statement's current row.
243+
/// Cursors provide direct access to a statements current row.
244244
public struct Cursor {
245245

246246
private let handle: COpaquePointer

0 commit comments

Comments
 (0)