Skip to content

Commit

Permalink
Make PasswordToken cloneable (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
roj1512 committed Apr 28, 2023
1 parent 32d58d2 commit ec21116
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/grammers-client/src/types/password_token.rs
Expand Up @@ -7,7 +7,8 @@
// except according to those terms.
use grammers_tl_types as tl;

#[derive(Debug)]
// TODO this should not be Clone, but check_password Err doesn't include it back yet
#[derive(Clone, Debug)]
pub struct PasswordToken {
pub(crate) password: tl::types::account::Password,
}
Expand Down

0 comments on commit ec21116

Please sign in to comment.