about summary refs log tree commit diff
path: root/src/libserialize/json.rs
diff options
context:
space:
mode:
authorbenaryorg <binary@benary.org>2015-05-30 17:41:09 +0200
committerbenaryorg <binary@benary.org>2015-05-30 17:41:09 +0200
commit2029799d17ff368fefa761334ad76ea7474412b3 (patch)
treeea582788bb66569c7dfd503cfde146af712073ee /src/libserialize/json.rs
parent474c6e0ae47578b3e608c893e18bc83798b565aa (diff)
downloadrust-2029799d17ff368fefa761334ad76ea7474412b3.tar.gz
rust-2029799d17ff368fefa761334ad76ea7474412b3.zip
fix documentation in libserialize
the object was serialized with an 'i' but the comment stated the print command
would output 'j'
Diffstat (limited to 'src/libserialize/json.rs')
-rw-r--r--src/libserialize/json.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserialize/json.rs b/src/libserialize/json.rs
index adc4f69334f..24cc7fe878a 100644
--- a/src/libserialize/json.rs
+++ b/src/libserialize/json.rs
@@ -145,7 +145,7 @@
 //!         val: num.to_json(),
 //!     }).unwrap();
 //!     println!("data: {}", data);
-//!     // data: {"uid":1,"dsc":"test","val":"0.0001+12.539j"};
+//!     // data: {"uid":1,"dsc":"test","val":"0.0001+12.539i"};
 //! }
 //! ```
 //!