sed -i -s 's/\bmod,/self,/g' **/*.rs
This commit is contained in:
parent
c6c786671d
commit
56dcbd17fd
178 changed files with 291 additions and 291 deletions
|
@ -114,7 +114,7 @@
|
|||
//! ```notrust
|
||||
//! // FIXME(#19470): this cannot be ```rust``` because it fails orphan checking at the moment
|
||||
//! extern crate serialize;
|
||||
//! use serialize::json::{mod, ToJson, Json};
|
||||
//! use serialize::json::{self, ToJson, Json};
|
||||
//!
|
||||
//! // A custom data structure
|
||||
//! struct ComplexNum {
|
||||
|
@ -155,7 +155,7 @@
|
|||
//! // FIXME(#19470): this cannot be ```rust``` because it fails orphan checking at the moment
|
||||
//! extern crate serialize;
|
||||
//! use std::collections::BTreeMap;
|
||||
//! use serialize::json::{mod, Json, ToJson};
|
||||
//! use serialize::json::{self, Json, ToJson};
|
||||
//!
|
||||
//! // Only generate `Decodable` trait implementation
|
||||
//! #[deriving(Decodable)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue