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
key(), nonce(), ttl() and timestamp() all consume self. This means the builders instance needs to be cloned if a user wants to continue using it after calling any of the above getters. This seems unintentional. I suggest they all take &self instead of self.
pubfnnonce(&self) -> &[u8]{self.nonce}
The text was updated successfully, but these errors were encountered:
key()
,nonce()
,ttl()
andtimestamp()
all consumeself
. This means the builders instance needs to be cloned if a user wants to continue using it after calling any of the above getters. This seems unintentional. I suggest they all take&self
instead ofself
.The text was updated successfully, but these errors were encountered: