diff options
author | Matt Keeler <mjkeeler7@gmail.com> | 2018-08-07 17:04:50 -0400 |
---|---|---|
committer | Matt Keeler <mjkeeler7@gmail.com> | 2018-08-07 17:04:50 -0400 |
commit | fac79368736f8fa546157b5b625a3f28850d160f (patch) | |
tree | 5c386a79c96444373f22a66d8010ffcfc520714b | |
parent | 3f4333fa6ee384e5db58f4204ed5f09d9d95cbbb (diff) | |
download | alacritty-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.rs | 2 |
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, \ |