From f1c09a88826760e03c58917d84740e3b3a5020d0 Mon Sep 17 00:00:00 2001 From: Greg Rychlewski Date: Sat, 14 Oct 2023 10:52:02 -0400 Subject: [PATCH] cleanup docs --- lib/db_connection.ex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/db_connection.ex b/lib/db_connection.ex index e03c94b..db1322d 100644 --- a/lib/db_connection.ex +++ b/lib/db_connection.ex @@ -354,11 +354,11 @@ defmodule DBConnection do processing a request, the last known state will be sent and the exception will be a `DBConnection.ConnectionError`. - If the `disconnect_on_terminate` option is set to `true`, the last known - state will be sent and the exception will be a `DBConnection.ConnectionError` - containing the reason for the exit. This callback will be called from - `terminate/3` and it will only happen if the connection was not previously - disconnected. For example, using `disconnect_all/3. + If the connect option `disconnect_on_terminate` is set to `true`, the last + known state will be sent and the exception will be a `DBConnection.ConnectionError` + containing the reason for the exit. This callback will be called from `terminate/3` + and it will only happen if the connection was not previously disconnected. + For example, using `disconnect_all/3. """ @callback disconnect(err :: Exception.t(), state :: any) :: :ok