From 4ba748c902b56119dee8ce8ccd7ffde8fc0d0211 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 22 Oct 2017 11:29:35 -0700 Subject: [PATCH] Clean up trailing whitespace --- CONTRIBUTING.md | 2 +- serde/src/ser/impls.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c91af696..9c85bb47 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -22,7 +22,7 @@ efforts from contributors on the same issue. master you may be asked to rebase your changes. - Commits should be as small as possible, while ensuring that each commit is - correct independently (i.e., each commit should compile and pass tests). + correct independently (i.e., each commit should compile and pass tests). - If your patch is not getting reviewed or you need a specific person to review it, you can @-reply a reviewer asking for a review in the pull request or a diff --git a/serde/src/ser/impls.rs b/serde/src/ser/impls.rs index ed41d9df..6d6817b7 100644 --- a/serde/src/ser/impls.rs +++ b/serde/src/ser/impls.rs @@ -513,7 +513,7 @@ impl Serialize for net::IpAddr { } } else { match *self { - net::IpAddr::V4(ref a) => + net::IpAddr::V4(ref a) => serializer.serialize_newtype_variant("IpAddr", 0, "V4", a), net::IpAddr::V6(ref a) => serializer.serialize_newtype_variant("IpAddr", 1, "V6", a),