Skip to content

Commit 928a94e

Browse files
committed
fix some typos
1 parent 35be8ba commit 928a94e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sqlite.zig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ pub const Db = struct {
557557
/// prepareDynamic prepares a dynamic statement for the `query` provided.
558558
///
559559
/// The query will be directly sent to create statement without analysing.
560-
/// That means such statements does not support comptime type-checking.
560+
/// That means such statements do not support comptime type-checking.
561561
///
562562
/// Dynamic statement supports host parameter names. See `DynamicStatement`.
563563
pub fn prepareDynamic(self: *Self, query: []const u8) DynamicStatement.PrepareError!DynamicStatement {
@@ -1810,7 +1810,7 @@ pub const DynamicStatement = struct {
18101810
///
18111811
/// The `values` variable is used for the bind parameters. It must have as many fields as there are bind markers
18121812
/// in the input query string.
1813-
/// The values will be binded depends on the numberic name when it's a tuple, or the
1813+
/// The values that will be bound depend on the numeric name when it's a tuple, or the
18141814
/// string name when it's a normal structure.
18151815
///
18161816
/// Possible errors:
@@ -1848,7 +1848,7 @@ pub const DynamicStatement = struct {
18481848
///
18491849
/// The `values` tuple is used for the bind parameters. It must have as many fields as there are bind markers
18501850
/// in the input query string.
1851-
/// The values will be binded depends on the numberic name when it's a tuple, or the
1851+
/// The values that will be bound depend on the numberic name when it's a tuple, or the
18521852
/// string name when it's a normal structure.
18531853
///
18541854
/// The iterator _must not_ outlive the statement.
@@ -1881,7 +1881,7 @@ pub const DynamicStatement = struct {
18811881
///
18821882
/// The `values` tuple is used for the bind parameters. It must have as many fields as there are bind markers
18831883
/// in the input query string.
1884-
/// The values will be binded depends on the numberic name when it's a tuple, or the
1884+
/// The values will be bound depend on the numberic name when it's a tuple, or the
18851885
/// string name when it's a normal structure.
18861886
///
18871887
/// The iterator _must not_ outlive the statement.
@@ -2097,7 +2097,7 @@ pub fn Statement(comptime opts: StatementOptions, comptime query: anytype) type
20972097
}
20982098

20992099
return self.dynamic().bind(options, values) catch |e| switch (e) {
2100-
errors.Error.SQLiteNotFound => unreachable, // impossible to have non-exists field
2100+
errors.Error.SQLiteNotFound => unreachable, // impossible to have non-existent field
21012101
else => e,
21022102
};
21032103
}

0 commit comments

Comments
 (0)