From b8a877336abf3578710be7b6b3b459f45af076ee Mon Sep 17 00:00:00 2001 From: Who? Me?! Date: Sun, 16 Aug 2020 14:16:00 -0500 Subject: [PATCH 1/2] Remove unneeded hashmarks --- src/serialization.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/serialization.md b/src/serialization.md index 292ffc546..4baa1940d 100644 --- a/src/serialization.md +++ b/src/serialization.md @@ -36,9 +36,9 @@ deserialization to the fields of the struct or enum. For a struct those impls look something like this: ```rust,ingore -# #![feature(rustc_private)] -# extern crate rustc_serialize; -# use rustc_serialize::{Decodable, Decoder, Encodable, Encoder}; +#![feature(rustc_private)] +extern crate rustc_serialize; +use rustc_serialize::{Decodable, Decoder, Encodable, Encoder}; struct MyStruct { int: u32, From 347fdb89e2c3a0131ba68d98a515f1938707d7b0 Mon Sep 17 00:00:00 2001 From: Who? Me?! Date: Sun, 16 Aug 2020 14:29:20 -0500 Subject: [PATCH 2/2] Typo Co-authored-by: Joshua Nelson --- src/serialization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serialization.md b/src/serialization.md index 4baa1940d..d28df6ec1 100644 --- a/src/serialization.md +++ b/src/serialization.md @@ -35,7 +35,7 @@ usually implemented by [derives]. These generate implementations that forward deserialization to the fields of the struct or enum. For a struct those impls look something like this: -```rust,ingore +```rust,ignore #![feature(rustc_private)] extern crate rustc_serialize; use rustc_serialize::{Decodable, Decoder, Encodable, Encoder};