Add missing try!() around write!()

Fixes "unused result" warning.
This commit is contained in:
Simon Sapin 2016-08-18 15:43:09 +02:00
parent d690bd2382
commit 84fed1a62f

View file

@ -468,7 +468,7 @@ fn append_serialization<'a, W, I>(dest: &mut W,
return append_declaration_value(dest, appendable_value, is_important); return append_declaration_value(dest, appendable_value, is_important);
} }
write!(dest, "{}:", property_name); try!(write!(dest, "{}:", property_name));
// for normal parsed values, add a space between key: and value // for normal parsed values, add a space between key: and value
match &appendable_value { match &appendable_value {