Add since and note for all deprecation tags.

This commit is contained in:
John Gallagher
2016-05-29 20:36:20 -04:00
parent f817ec86bc
commit 7c0eba0475
4 changed files with 11 additions and 11 deletions

View File

@@ -2,7 +2,7 @@ use std::ops::Deref;
use {Result, Connection};
/// Old name for `TransactionBehavior`. `SqliteTransactionBehavior` is deprecated.
#[deprecated]
#[deprecated(since = "0.6.0", note = "Use TransactionBehavior instead")]
pub type SqliteTransactionBehavior = TransactionBehavior;
/// Options for transaction behavior. See [BEGIN
@@ -29,7 +29,7 @@ pub enum DropBehavior {
}
/// Old name for `Transaction`. `SqliteTransaction` is deprecated.
#[deprecated]
#[deprecated(since = "0.6.0", note = "Use Transaction instead")]
pub type SqliteTransaction<'conn> = Transaction<'conn>;
/// Represents a transaction on a database connection.