Skip to content

Commit e518428

Browse files
committed
silence warning
1 parent 0fde60d commit e518428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl Error {
7474
}
7575

7676
pub fn is_amqp_error(&self) -> bool {
77-
if let ErrorKind::ProtocolError(e) = self.kind() {
77+
if let ErrorKind::ProtocolError(_) = self.kind() {
7878
return true;
7979
}
8080
false

0 commit comments

Comments
 (0)