Err partial eq (#452)

Impl PartialEq for Error
This commit is contained in:
gwenn
2018-12-19 21:58:33 +01:00
committed by GitHub
parent 7619f638a8
commit 747a8d36ed
3 changed files with 55 additions and 15 deletions

View File

@@ -377,8 +377,9 @@ impl<'conn> Statement<'conn> {
/// If the query returns more than one row, all rows except the first are
/// ignored.
///
/// Returns `Err(QueryReturnedNoRows)` if no results are returned. If the query truly is optional,
/// you can call `.optional()` on the result of this to get a `Result<Option<T>>`.
/// Returns `Err(QueryReturnedNoRows)` if no results are returned. If the
/// query truly is optional, you can call `.optional()` on the result of
/// this to get a `Result<Option<T>>`.
///
/// # Failure
///