From 872bac33441b08dc07950755c32b6b38e3eee71f Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Fri, 19 Apr 2024 21:07:48 +0800 Subject: [PATCH] Fix BackendConnection member docstrings --- butane_core/src/db/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/butane_core/src/db/mod.rs b/butane_core/src/db/mod.rs index f85c3cf9..c1b35b73 100644 --- a/butane_core/src/db/mod.rs +++ b/butane_core/src/db/mod.rs @@ -50,8 +50,9 @@ pub trait BackendConnection: ConnectionMethods + Debug + Send + 'static { /// Begin a database transaction. The transaction object must be /// used in place of this connection until it is committed and aborted. fn transaction(&mut self) -> Result; - /// Retrieve the backend backend this connection + /// Retrieve the backend for this connection. fn backend(&self) -> Box; + /// Retrieve the backend name for this connection. fn backend_name(&self) -> &'static str; /// Tests if the connection has been closed. Backends which do not /// support this check should return false.