sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs

This commit is contained in:
John Gallagher
2015-01-05 10:59:55 -05:00
parent 52aeb19246
commit 5902b9106c
4 changed files with 28 additions and 28 deletions

View File

@@ -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.