Skip to content

Commit 848646b

Browse files
weiznichTen0
andcommitted
Apply suggestions from code review
Co-authored-by: Ten0 <9094255+Ten0@users.noreply.github.com>
1 parent 5f6c956 commit 848646b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

diesel/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ categories = ["database"]
1313
edition = "2018"
1414

1515
[dependencies]
16-
byteorder = {version = "1.0", optional = true}
16+
byteorder = { version = "1.0", optional = true }
1717
chrono = { version = "0.4.19", optional = true, default-features = false, features = ["clock", "std"] }
1818
libc = { version = "0.2.0", optional = true }
1919
libsqlite3-sys = { version = ">=0.8.0, <0.24.0", optional = true, features = ["bundled_bindings"] }

diesel/src/sqlite/connection/stmt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ impl Statement {
5353
// The caller of this function has to ensure that:
5454
// * Any buffer provided as `SqliteBindValue::BorrowedBinary`, `SqliteBindValue::Binary`
5555
// `SqliteBindValue::String` or `SqliteBindValue::BorrowedString` is valid
56-
// till either a new value is bound to the same paramter or the underlying
56+
// till either a new value is bound to the same parameter or the underlying
5757
// prepared statement is dropped.
5858
unsafe fn bind(
5959
&mut self,

0 commit comments

Comments
 (0)