Deserializing OsString on windows requires a 'de lifetime
This commit is contained in:
parent
5a98bd9ee3
commit
92bc23e484
@ -1085,7 +1085,7 @@ impl<'de> Visitor<'de> for OsStringVisitor {
|
||||
|
||||
#[cfg(windows)]
|
||||
fn visit_enum<V>(self, visitor: V) -> Result<OsString, V::Error>
|
||||
where V: EnumVisitor,
|
||||
where V: EnumVisitor<'de>,
|
||||
{
|
||||
use std::os::windows::ffi::OsStringExt;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user