diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-03-14 09:43:41 -0700 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-03-17 13:52:39 +0100 |
commit | 46c505e47bce15cacfcdfaf4bf36887abe20144d (patch) | |
tree | b4bed36619e8a8b9054905efdbfe7cfaf132bbff /components/gfx/platform/macos | |
parent | 7214fba45b92f8c7ee9bc3963a430024f1ee2ed4 (diff) | |
download | servo-46c505e47bce15cacfcdfaf4bf36887abe20144d.tar.gz servo-46c505e47bce15cacfcdfaf4bf36887abe20144d.zip |
Bump serde to 0.7
Diffstat (limited to 'components/gfx/platform/macos')
-rw-r--r-- | components/gfx/platform/macos/font_template.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/gfx/platform/macos/font_template.rs b/components/gfx/platform/macos/font_template.rs index f15527e6a9f..3099bbd28ed 100644 --- a/components/gfx/platform/macos/font_template.rs +++ b/components/gfx/platform/macos/font_template.rs @@ -112,7 +112,7 @@ impl Deref for CachedCTFont { impl Serialize for CachedCTFont { fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer { - serializer.visit_none() + serializer.serialize_none() } } @@ -130,7 +130,7 @@ impl Deserialize for CachedCTFont { } } - deserializer.visit_option(NoneOptionVisitor) + deserializer.deserialize_option(NoneOptionVisitor) } } |