aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Keeler <mjkeeler7@gmail.com>2018-08-07 17:04:50 -0400
committerMatt Keeler <mjkeeler7@gmail.com>2018-08-07 17:04:50 -0400
commitfac79368736f8fa546157b5b625a3f28850d160f (patch)
tree5c386a79c96444373f22a66d8010ffcfc520714b
parent3f4333fa6ee384e5db58f4204ed5f09d9d95cbbb (diff)
downloadalacritty-fac79368736f8fa546157b5b625a3f28850d160f.tar.gz
alacritty-fac79368736f8fa546157b5b625a3f28850d160f.zip
Update comment about why to deserialize scale_with_dpi
And then subsequently ignore the returned value.
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index 885df16e..cb990df4 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -1593,7 +1593,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, \