Use new Rust 1.9 attribute: #[deprecated].

This commit is contained in:
gwenn
2016-05-26 21:16:09 +02:00
parent 9e49452300
commit f817ec86bc
5 changed files with 12 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ use libc::c_int;
use {ffi, errmsg_to_string};
/// Old name for `Error`. `SqliteError` is deprecated.
#[deprecated]
pub type SqliteError = Error;
/// Enum listing possible errors from rusqlite.