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