mirror of
https://github.com/aramperes/nut-rs.git
synced 2025-09-09 13:38:30 -04:00
Fix Clippy error
This commit is contained in:
parent
4456922492
commit
5ae714c9e2
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ impl TcpConnection {
|
|||
|
||||
// Pass password and check for 'OK'
|
||||
if let Some(password) = &auth.password {
|
||||
Self::write_cmd(&mut self.tcp_stream, Command::SetPassword(&password))?;
|
||||
Self::write_cmd(&mut self.tcp_stream, Command::SetPassword(password))?;
|
||||
Self::read_response(&mut self.tcp_stream)?.expect_ok()?;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue