File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 83
83
//! from JSON using the serialization API, using the derived serialization code.
84
84
//!
85
85
//! ```rust
86
- //! extern crate "rustc-serialize" as rustc_serialize;
86
+ //! extern crate rustc_serialize;
87
87
//! use rustc_serialize::json;
88
88
//!
89
89
//! // Automatically generate `RustcDecodable` and `RustcEncodable` trait
118
118
//! ### Simple example of `ToJson` usage
119
119
//!
120
120
//! ```rust
121
- //! extern crate "rustc-serialize" as rustc_serialize;
121
+ //! extern crate rustc_serialize;
122
122
//! use rustc_serialize::json::{self, ToJson, Json};
123
123
//!
124
124
//! // A custom data structure
157
157
//! ### Verbose example of `ToJson` usage
158
158
//!
159
159
//! ```rust
160
- //! extern crate "rustc-serialize" as rustc_serialize;
160
+ //! extern crate rustc_serialize;
161
161
//! use std::collections::BTreeMap;
162
162
//! use rustc_serialize::json::{self, Json, ToJson};
163
163
//!
199
199
//! ## Parsing a `str` to `Json` and reading the result
200
200
//!
201
201
//! ```rust
202
- //! extern crate "rustc-serialize" as rustc_serialize;
202
+ //! extern crate rustc_serialize;
203
203
//! use rustc_serialize::json::Json;
204
204
//!
205
205
//! fn main() {
You can’t perform that action at this time.
0 commit comments