postgres: change types in macros

Co-authored-by: Oliver Bøving <oliverboving@gmail.com>
This commit is contained in:
Ryan Leckey
2020-03-20 20:07:52 -07:00
parent e42a995fd9
commit ec27b65b26
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ where
let el_len_index = self.buf.len();
self.buf.put_i32::<BE>(0);
// Allocate the element it self
// Allocate and encode the element it self
let el_start = self.buf.len();
if let IsNull::Yes = Encode::<Postgres>::encode_nullable(&item, self.buf) {