1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 18:24:05 +02:00

better SendPropIdentifier des

This commit is contained in:
Robin Appelman 2025-06-28 00:02:42 +02:00
commit b6b55db0f9

View file

@ -1184,7 +1184,7 @@ impl<'de> Deserialize<'de> for SendPropIdentifier {
#[serde(untagged)]
enum Options<'a> {
Num(u64),
Str(&'a str),
Str(Cow<'a, str>),
}
let raw = Options::deserialize(deserializer)?;