refactor: Fix clippy warnings

This commit is contained in:
Naoki Ikeguchi
2023-02-06 07:29:45 -06:00
committed by Greg Heartsfield
parent bc4b45d4b8
commit bd07a11f50
10 changed files with 59 additions and 66 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ pub fn main() -> Result<()> {
// ensure the schema version is current.
if version != DB_VERSION {
info!("version is not current, exiting");
panic!("cannot write to schema other than v{}", DB_VERSION);
panic!("cannot write to schema other than v{DB_VERSION}");
}
}
// this channel will contain parsed events ready to be inserted