Fix build warnings

This commit is contained in:
Riordan Panayides 2022-09-21 00:53:35 +01:00
parent 3dfb430416
commit ede9040e08
2 changed files with 1 additions and 3 deletions

View File

@ -12,6 +12,7 @@ pub fn zstd_decompress(data: &[u8], uncompressed: &mut Vec<u8>) -> Result<usize,
}
pub(crate) mod tests {
#[allow(unused_imports)]
use super::*;
#[test]
fn test_zstd_compression() {

View File

@ -2,7 +2,6 @@ use crate::compression::zstd_compress;
use {
crate::accounts_selector::AccountsSelector,
crate::compression,
bs58,
geyser_proto::{
slot_update::Status as SlotUpdateStatus, update::UpdateOneof, AccountWrite, Ping,
@ -398,8 +397,6 @@ pub unsafe extern "C" fn _create_plugin() -> *mut dyn GeyserPlugin {
#[cfg(test)]
pub(crate) mod tests {
use std::io::Write;
use {super::*, serde_json};
#[test]