File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 7676//! Create a struct called `TestStruct` and serialize and deserialize it to and from JSON using the
7777//! serialization API, using the derived serialization code.
7878//!
79- //! ```rust
79+ //! ```notrust
80+ //! // FIXME(#19470): this cannot be ```rust``` because it fails orphan checking at the moment
8081//! extern crate serialize;
8182//! use serialize::json;
8283//!
110111//!
111112//! ### Simple example of `ToJson` usage
112113//!
113- //! ```rust
114+ //! ```notrust
115+ //! // FIXME(#19470): this cannot be ```rust``` because it fails orphan checking at the moment
114116//! extern crate serialize;
115117//! use serialize::json::{mod, ToJson, Json};
116118//!
149151//!
150152//! ### Verbose example of `ToJson` usage
151153//!
152- //! ```rust
154+ //! ```notrust
155+ //! // FIXME(#19470): this cannot be ```rust``` because it fails orphan checking at the moment
153156//! extern crate serialize;
154157//! use std::collections::BTreeMap;
155158//! use serialize::json::{mod, Json, ToJson};
You can’t perform that action at this time.
0 commit comments