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 {
|
pub(crate) mod tests {
|
||||||
|
#[allow(unused_imports)]
|
||||||
use super::*;
|
use super::*;
|
||||||
#[test]
|
#[test]
|
||||||
fn test_zstd_compression() {
|
fn test_zstd_compression() {
|
||||||
|
|
|
@ -2,7 +2,6 @@ use crate::compression::zstd_compress;
|
||||||
|
|
||||||
use {
|
use {
|
||||||
crate::accounts_selector::AccountsSelector,
|
crate::accounts_selector::AccountsSelector,
|
||||||
crate::compression,
|
|
||||||
bs58,
|
bs58,
|
||||||
geyser_proto::{
|
geyser_proto::{
|
||||||
slot_update::Status as SlotUpdateStatus, update::UpdateOneof, AccountWrite, Ping,
|
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)]
|
#[cfg(test)]
|
||||||
pub(crate) mod tests {
|
pub(crate) mod tests {
|
||||||
use std::io::Write;
|
|
||||||
|
|
||||||
use {super::*, serde_json};
|
use {super::*, serde_json};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Reference in New Issue