mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-12 15:31:07 +00:00
Clean up trailing whitespace
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ efforts from contributors on the same issue.
|
|||||||
master you may be asked to rebase your changes.
|
master you may be asked to rebase your changes.
|
||||||
|
|
||||||
- Commits should be as small as possible, while ensuring that each commit is
|
- 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
|
- 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
|
it, you can @-reply a reviewer asking for a review in the pull request or a
|
||||||
|
|||||||
@@ -513,7 +513,7 @@ impl Serialize for net::IpAddr {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
match *self {
|
match *self {
|
||||||
net::IpAddr::V4(ref a) =>
|
net::IpAddr::V4(ref a) =>
|
||||||
serializer.serialize_newtype_variant("IpAddr", 0, "V4", a),
|
serializer.serialize_newtype_variant("IpAddr", 0, "V4", a),
|
||||||
net::IpAddr::V6(ref a) =>
|
net::IpAddr::V6(ref a) =>
|
||||||
serializer.serialize_newtype_variant("IpAddr", 1, "V6", a),
|
serializer.serialize_newtype_variant("IpAddr", 1, "V6", a),
|
||||||
|
|||||||
Reference in New Issue
Block a user