summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2020-12-27 16:14:10 +0100
committerGravatar Vincent Rischmann2020-12-27 16:14:10 +0100
commit943f2ece02cf6e98ea7f6163d627cfe5b0005884 (patch)
treedbf227c8be03a2cff1a1687b3f491da22875fc0a
parentreadBytes can simply take the allocator instead of the options (diff)
downloadzig-sqlite-943f2ece02cf6e98ea7f6163d627cfe5b0005884.tar.gz
zig-sqlite-943f2ece02cf6e98ea7f6163d627cfe5b0005884.tar.xz
zig-sqlite-943f2ece02cf6e98ea7f6163d627cfe5b0005884.zip
fix some typos
-rw-r--r--sqlite.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/sqlite.zig b/sqlite.zig
index a513413..abc8dce 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -183,7 +183,7 @@ pub fn Iterator(comptime Type: type) type {
183 183
184 stmt: *c.sqlite3_stmt, 184 stmt: *c.sqlite3_stmt,
185 185
186 // next scans the next row using the preapred statement. 186 // next scans the next row using the prepared statement.
187 // 187 //
188 // If it returns null iterating is done. 188 // If it returns null iterating is done.
189 pub fn next(self: *Self, options: anytype) !?Type { 189 pub fn next(self: *Self, options: anytype) !?Type {
@@ -487,7 +487,7 @@ pub const StatementOptions = struct {};
487/// }; 487/// };
488/// const rows = try stmt.all(Row, .{ .allocator = allocator }, .{}); 488/// const rows = try stmt.all(Row, .{ .allocator = allocator }, .{});
489/// 489///
490/// Look at aach function for more complete documentation. 490/// Look at each function for more complete documentation.
491/// 491///
492pub fn Statement(comptime opts: StatementOptions, comptime query: ParsedQuery) type { 492pub fn Statement(comptime opts: StatementOptions, comptime query: ParsedQuery) type {
493 return struct { 493 return struct {