From 3fc7f1880f3842bde846c246dbd3b8a3d251aaf4 Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Sat, 19 Jun 2021 15:40:46 +0200 Subject: [PATCH] Rename tokio-postgres example --- examples/README.md | 2 +- examples/{bb8_connection_pool.rs => tokio_postgres.rs} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename examples/{bb8_connection_pool.rs => tokio_postgres.rs} (100%) diff --git a/examples/README.md b/examples/README.md index e40b8e94..22d7cd70 100644 --- a/examples/README.md +++ b/examples/README.md @@ -9,4 +9,4 @@ - [`versioning`](../examples/versioning.rs) - How one might version an API. - [`websocket`](../examples/websocket.rs) - How to build an app that handles WebSocket connections. - [`error_handling_and_dependency_injection`](../examples/error_handling_and_dependency_injection.rs) - How to handle errors and dependency injection using trait objects. -- [`bb8_connection_pool`](../examples/bb8_connection_pool.rs) - How to use a bb8 and tokio-postgres to query a database. +- [`tokio_postgres`](../examples/tokio_postgres.rs) - How to use a tokio-postgres and bb8 to query a database. diff --git a/examples/bb8_connection_pool.rs b/examples/tokio_postgres.rs similarity index 100% rename from examples/bb8_connection_pool.rs rename to examples/tokio_postgres.rs