From 1e5e1eceb4aa86da333ec3c5d7c7850339a0e2d8 Mon Sep 17 00:00:00 2001 From: Matthew Doty Date: Sun, 26 Jan 2020 19:38:02 -0500 Subject: [PATCH] Making realworld-postgres example compile --- examples/realworld-postgres/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/realworld-postgres/src/main.rs b/examples/realworld-postgres/src/main.rs index d96231e5..20e31a7b 100644 --- a/examples/realworld-postgres/src/main.rs +++ b/examples/realworld-postgres/src/main.rs @@ -62,7 +62,7 @@ RETURNING id, username, email "#, body.username, body.email, - hash, + hash ) .fetch_one(&mut tx) .await @@ -106,7 +106,7 @@ SELECT username, email FROM users WHERE id = $1 "#, - user_id, + user_id ) .fetch_one(&mut pool) .await