Skip to content

Commit

Permalink
Fix cargo clippy error
Browse files Browse the repository at this point in the history
Signed-off-by: xuhui-lu <[email protected]>
  • Loading branch information
xuhui-lu committed Aug 10, 2021
1 parent 62f99c6 commit bd40a0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/raw/sync_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::{
config::Config, raw::client::Client, BoundRange, ColumnFamily, Key, KvPair, Result, Value,
};
use futures::executor::block_on;
use slog::{Drain, Logger};
use slog::Logger;
use std::u32;

#[derive(Clone)]
Expand Down Expand Up @@ -47,7 +47,7 @@ impl SyncClient {
logger: Option<Logger>,
) -> Result<SyncClient> {
let client = block_on(Client::new_with_config(pd_endpoints, config, logger)).unwrap();
Ok(SyncClient { client: client })
Ok(SyncClient { client })
}

pub fn with_cf(&self, cf: ColumnFamily) -> SyncClient {
Expand Down

0 comments on commit bd40a0b

Please sign in to comment.