mirror of
https://github.com/isar/rusqlite.git
synced 2025-09-16 20:52:19 +08:00
sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
//! use time::Timespec;
|
||||
//! use rusqlite::SqliteConnection;
|
||||
//!
|
||||
//! #[deriving(Show)]
|
||||
//! #[derive(Show)]
|
||||
//! struct Person {
|
||||
//! id: i32,
|
||||
//! name: String,
|
||||
@@ -84,7 +84,7 @@ unsafe fn errmsg_to_string(errmsg: *const c_char) -> String {
|
||||
}
|
||||
|
||||
/// Encompasses an error result from a call to the SQLite C API.
|
||||
#[deriving(Show)]
|
||||
#[derive(Show)]
|
||||
pub struct SqliteError {
|
||||
/// The error code returned by a SQLite C API call. See [SQLite Result
|
||||
/// Codes](http://www.sqlite.org/rescode.html) for details.
|
||||
|
Reference in New Issue
Block a user