mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-25 18:37:55 +00:00
Deserializing OsString on windows requires a 'de lifetime
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user