Skip to content

Commit

Permalink
Fix compilation error on Rust 2018
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitrySamoylov committed Apr 11, 2022
1 parent 9e80c95 commit a82a275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onvif/src/soap/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ impl Client {
debug!(self, "Response (SOAP unwrapped, patched): {}", patched);
Ok(patched)
}
Err(e) => Err(Error::Protocol(format!("Patching failed: {e}"))),
Err(e) => Err(Error::Protocol(format!("Patching failed: {}", e))),
}
} else {
Ok(response)
Expand Down

0 comments on commit a82a275

Please sign in to comment.