chore: address Rust 1.67 clippy lints (#465)

This commit is contained in:
Sanchith Hegde
2023-01-27 12:29:57 +05:30
committed by GitHub
parent 351087fc7f
commit b5720f1e38
33 changed files with 107 additions and 123 deletions

View File

@ -111,5 +111,5 @@ pub(crate) fn get_stream_key_flag(store: Arc<services::Store>, stream_index: u8)
}
pub(crate) fn get_drainer_stream_name(store: Arc<services::Store>, stream_index: u8) -> String {
store.drainer_stream(format!("shard_{}", stream_index).as_str())
store.drainer_stream(format!("shard_{stream_index}").as_str())
}