EasyPost / rust-mysql-binlog

Rust implementation of the MySQL binlog format
ISC License
104 stars 18 forks source link

fix: comply with rust 2021 rules about panic macros #15

Closed zacharyhamm closed 2 years ago

zacharyhamm commented 2 years ago

Small change to get rust-mysql-binlog in compliance with rust 2021 rules about panics. unreachable! already takes format strings, so no need to call format!, and rust 2021 only allows string literals in panic! macros like unreachable!

Roguelazer commented 2 years ago

Seems good; thanks for the PR.