doc: minor change

Signed-off-by: ekexium <ekexium@gmail.com>
This commit is contained in:
ekexium 2020-11-10 17:04:22 +08:00
parent 6cfe1257ab
commit 370bdad231
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ pub struct Config {
pub timeout: Duration,
}
pub const DEFAULT_REQUEST_TIMEOUT: Duration = Duration::from_secs(2);
const DEFAULT_REQUEST_TIMEOUT: Duration = Duration::from_secs(2);
impl Config {
/// Create a new [`Config`](Config) which coordinates with the given PD endpoints.