Remove useless use of methods
This commit is contained in:
parent
074c3697d0
commit
45dc882b49
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ impl SmtpIn {
|
|||
handlers_tx.send(h.clone())?;
|
||||
}
|
||||
self.sessions.insert(entry.session_id, (entry_tx, handle));
|
||||
let (r, _) = self.sessions.get(&entry.session_id).unwrap();
|
||||
let (r, _) = &self.sessions[&entry.session_id];
|
||||
r
|
||||
}
|
||||
};
|
||||
|
|
Reference in a new issue