Skip to content

Commit 87f2e59

Browse files
committed
remove public visibility of codec
Signed-off-by: ekexium <[email protected]>
1 parent 85fd789 commit 87f2e59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ mod proptests;
9797
extern crate log;
9898

9999
#[doc(inline)]
100-
pub use crate::kv::{codec, BoundRange, Key, KvPair, ToOwnedRange, Value};
100+
pub use crate::kv::{BoundRange, Key, KvPair, ToOwnedRange, Value};
101101
#[doc(inline)]
102102
pub use crate::raw::{Client as RawClient, ColumnFamily};
103103
#[doc(inline)]

src/pd/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2018 TiKV Project Authors. Licensed under Apache-2.0.
22

33
use crate::{
4-
codec, compat::stream_fn, pd::RetryClient, store::Store, BoundRange, Config, Key, Region,
4+
compat::stream_fn, kv::codec, pd::RetryClient, store::Store, BoundRange, Config, Key, Region,
55
RegionId, Result, SecurityManager, Timestamp,
66
};
77
use async_trait::async_trait;

0 commit comments

Comments
 (0)