mirror of https://github.com/tikv/client-rust.git
doc: minor change
Signed-off-by: ekexium <ekexium@gmail.com>
This commit is contained in:
parent
6cfe1257ab
commit
370bdad231
|
@ -30,7 +30,7 @@ pub struct Config {
|
||||||
pub timeout: Duration,
|
pub timeout: Duration,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub const DEFAULT_REQUEST_TIMEOUT: Duration = Duration::from_secs(2);
|
const DEFAULT_REQUEST_TIMEOUT: Duration = Duration::from_secs(2);
|
||||||
|
|
||||||
impl Config {
|
impl Config {
|
||||||
/// Create a new [`Config`](Config) which coordinates with the given PD endpoints.
|
/// Create a new [`Config`](Config) which coordinates with the given PD endpoints.
|
||||||
|
|
Loading…
Reference in New Issue