Fix build warnings
This commit is contained in:
parent
3dfb430416
commit
ede9040e08
|
@ -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() {
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue