Skip to content

Commit

Permalink
extra::json: add documentation and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
musitdev committed Jan 19, 2014
1 parent 1a8a901 commit 339946c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libextra/json.rs
Expand Up @@ -306,7 +306,7 @@ impl<'a> Encoder<'a> {
let mut encoder = Encoder::new(&mut m as &mut io::Writer);
to_encode_object.encode(&mut encoder);
}
m.inner()
m.unwrap()
}

/// Encode the specified struct into a json str
Expand Down

0 comments on commit 339946c

Please sign in to comment.