Skip to content

Commit

Permalink
Remove unecessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
MTRNord committed Jul 28, 2023
1 parent fb11df3 commit 5fefb58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/erooster_imap/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ impl Data {

let con_clone = Arc::clone(&self.con_state);
let state = { con_clone.read().await.state.clone() };
let secure = { con_clone.read().await.secure.clone() };
let secure = { con_clone.read().await.secure };
if let State::Authenticating(AuthenticationMethod::Plain, tag) = state {
debug!("Second auth stage");
let command_data = CommandData {
Expand Down

0 comments on commit 5fefb58

Please sign in to comment.