Closed ooesili closed 6 years ago
The current signature of pinentry_mode is this:
pinentry_mode
fn pinentry_mode(self) -> PinentryMode
I feel like it should be this:
fn pinentry_mode(&self) -> PinentryMode
It seems overkill to have a method that seems to be nothing more than a getter take ownership of self.
self
The current signature of
pinentry_mode
is this:I feel like it should be this:
It seems overkill to have a method that seems to be nothing more than a getter take ownership of
self
.