Commit 1be9e20a authored by Matt Keeler's avatar Matt Keeler Committed by Peter van der meulen

Update comment about why to deserialize scale_with_dpi

And then subsequently ignore the returned value.
parent bdf6fb17
......@@ -1809,7 +1809,7 @@ pub struct Font {
fn deserialize_scale_with_dpi<'a, D>(deserializer: D) -> ::std::result::Result<Option<()>, D::Error>
where D: de::Deserializer<'a>
{
// This seems to be necessary in order for the config containing this entry to be parsed properly
// This is necessary in order to get serde to complete deserialization of the configuration
let _ignored = bool::deserialize(deserializer);
eprintln!(
"The `scale_with_dpi` setting has been removed, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment