Make Connection::close() return the connection on failure.

This commit is contained in:
John Gallagher
2017-01-03 20:00:29 -05:00
parent 914023ce9c
commit 3af91b36bf
2 changed files with 49 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
# Version UPCOMING (TBD)
* BREAKING CHANGE: `Connection::close()` now returns a `Result<(), (Connection, Error)>` instead
of a `Result<(), Error>` so callers get the still-open connection back on failure.
# Version 0.8.0 (2016-12-31)
* BREAKING CHANGE: The `FromSql` trait has been redesigned. It now requires a single, safe