From 16da31ca8b0243fe9f9fafb3f511518540907e45 Mon Sep 17 00:00:00 2001 From: Tristan Hume Date: Tue, 29 Jan 2019 10:47:26 -0500 Subject: [PATCH] Update plist to v0.4 --- src/highlighting/settings.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/highlighting/settings.rs b/src/highlighting/settings.rs index da64fcf..096c78a 100644 --- a/src/highlighting/settings.rs +++ b/src/highlighting/settings.rs @@ -3,7 +3,6 @@ use std::io::{Read, Seek}; use plist::{Error as PlistError}; -use plist::serde::deserialize; pub use serde_json::Value as Settings; pub use serde_json::Value::Array as SettingsArray; @@ -33,6 +32,6 @@ impl From for SettingsError { } pub fn read_plist(reader: R) -> Result { - let settings = deserialize(reader)?; + let settings = plist::from_reader(reader)?; Ok(settings) } -- 2.20.1