z_xxx_loan_mut
functions are not defined for all types where they are necessary
#714
Labels
z_xxx_loan_mut
functions are not defined for all types where they are necessary
#714
Describe the release item
E.g. there is
z_closure_reply_call
function with prototypebut there is no
z_reply_loan_mut
function which can return&mut z_loaned_reply_t
This happens because
z_xxx_loan_mut
functions were introduced only if there are other functions accepting mutable loan reference. But as we can see, this is easy to forget to addz_xxx_loan_mut
function when it's necessary.The proposal is to just implement
z_xxx_loan_mut
for all types, near the correspondingz_xxx_loan
ones.Anyway these functions will make sense when
z_take
for mutable loaned references is implemented: eclipse-zenoh/zenoh#1372The text was updated successfully, but these errors were encountered: