You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The zvariant::Str type is very generic and gives one advantage over std::borrow::Cow: it supports a separate variant for static string literals, which allows for avoiding copying/allocation even when calling .to_owned() on it (e.g from a generic code that handles all variants).
The
zvariant::Str
type is very generic and gives one advantage overstd::borrow::Cow
: it supports a separate variant for static string literals, which allows for avoiding copying/allocation even when calling.to_owned()
on it (e.g from a generic code that handles all variants).CC @elmarco
The text was updated successfully, but these errors were encountered: