mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-19 06:18:56 +08:00
Use new Rust 1.9 attribute: #[deprecated].
This commit is contained in:
@@ -2,6 +2,7 @@ use std::ops::Deref;
|
||||
use {Result, Connection};
|
||||
|
||||
/// Old name for `TransactionBehavior`. `SqliteTransactionBehavior` is deprecated.
|
||||
#[deprecated]
|
||||
pub type SqliteTransactionBehavior = TransactionBehavior;
|
||||
|
||||
/// Options for transaction behavior. See [BEGIN
|
||||
@@ -28,6 +29,7 @@ pub enum DropBehavior {
|
||||
}
|
||||
|
||||
/// Old name for `Transaction`. `SqliteTransaction` is deprecated.
|
||||
#[deprecated]
|
||||
pub type SqliteTransaction<'conn> = Transaction<'conn>;
|
||||
|
||||
/// Represents a transaction on a database connection.
|
||||
|
Reference in New Issue
Block a user