Skip to content

Fix deserializing from an owned string

Lukáš Tyrychtr requested to merge tyrylu/zbus:fix_deserialize_from_owned into main

Up until now, when deserializing MemberName etc. from an owned string, a runtime error about a borrowed string requirement was returned. This MR fixes the issue using a Cow when deserializing a potentially owned string.

Merge request reports

Loading