diff options
| author | Andreas Grois <andi@grois.info> | 2021-10-28 13:36:58 +0200 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2021-10-28 13:36:58 +0200 |
| commit | bc54170659191d71859317dd43ae30698d03bd37 (patch) | |
| tree | add55d98c9a0bb4b3b34eb8999ae9c6e5b58c0a8 | |
| parent | 15ae48210535358ad90dc85c4bc8809a71627d1d (diff) | |
Fix warning about bare trait object.
Damn, that syntax is stupid, but hey...
| -rw-r--r-- | swaystatus/src/config/custom_deserializers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaystatus/src/config/custom_deserializers.rs b/swaystatus/src/config/custom_deserializers.rs index cf468ca..7556ff7 100644 --- a/swaystatus/src/config/custom_deserializers.rs +++ b/swaystatus/src/config/custom_deserializers.rs @@ -106,7 +106,7 @@ impl<'de, 'a, 'b> DeserializeSeed<'de> for PluginConfigDeserializeSeed<'a, 'b> { Some(x) => x, None => return Err(de::Error::custom("Plugin not found")) }; - let mut erased_deserializer = erased_serde::Deserializer::erase(deserializer); + let mut erased_deserializer = <dyn erased_serde::Deserializer>::erase(deserializer); plugin.deserialize_config(&mut erased_deserializer).map_err(Error::custom) } } |
