From 2e8b119b10d33a26371bcec7716c7588b3e75e4f Mon Sep 17 00:00:00 2001 From: Angus Findlay Date: Sun, 24 Mar 2024 18:31:59 +0000 Subject: [PATCH] Update README.md: missing `let assert` still using old assert syntax --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a63412..d776483 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ pub fn main() { // Run the query against the PostgreSQL database // The int `1` is given as a parameter - assert Ok(response) = + let assert Ok(response) = pgo.execute(sql, db, [pgo.int(1)], return_type) // And then do something with the returned results