From 3cb9ddb8c64afe1fd03c40fa6bbcbf15f12dc7eb Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Sat, 28 Dec 2019 00:23:04 -0800 Subject: [PATCH] Apply auto ref fixes to example --- examples/realworld-postgres/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/realworld-postgres/src/main.rs b/examples/realworld-postgres/src/main.rs index 5b698b47..2a6c4281 100644 --- a/examples/realworld-postgres/src/main.rs +++ b/examples/realworld-postgres/src/main.rs @@ -58,9 +58,9 @@ INSERT INTO users ( username, email, password ) VALUES ( $1, $2, $3 ) RETURNING id, username, email "#, - &*body.username, - &*body.email, - &*hash, + body.username, + body.email, + hash, ) .fetch_one(&mut pool) .await