Skip to content

Commit

Permalink
Fix long line.
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon committed Oct 4, 2012
1 parent 6ffce1a commit f05bf26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libstd/serialization.rs
Expand Up @@ -239,7 +239,8 @@ pub fn deserialize_bool<D: Deserializer>(&&d: D) -> bool {
d.read_bool()
}

pub fn serialize_Option<S: Serializer,T>(&&s: S, &&v: Option<T>, st: fn(&&x: T)) {
pub fn serialize_Option<S: Serializer,T>(&&s: S, &&v: Option<T>,
st: fn(&&x: T)) {
do s.emit_enum(~"option") {
match v {
None => do s.emit_enum_variant(~"none", 0u, 0u) {
Expand Down

0 comments on commit f05bf26

Please sign in to comment.