From 77e9bdb49282cd186a257b4b8d4974aef602ff19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=92=E9=B1=BC?= <410663791@qq.com> Date: Fri, 12 Jan 2024 09:57:40 +0800 Subject: [PATCH] fix(doc): fix rfc typos (#3971) Signed-off-by: HowiieYu --- core/src/docs/rfcs/3911_deleter_api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/docs/rfcs/3911_deleter_api.md b/core/src/docs/rfcs/3911_deleter_api.md index b87636b0d044..8575dc2b520f 100644 --- a/core/src/docs/rfcs/3911_deleter_api.md +++ b/core/src/docs/rfcs/3911_deleter_api.md @@ -34,10 +34,10 @@ The following new API will be added to `Operator`: ```diff impl Operator { pub async fn detele(&self, path: &str) -> Result<()>; -+ pub async fn delete_with(&self, path: &str) -> FutureDelete; ++ pub fn delete_with(&self, path: &str) -> FutureDelete; + pub async fn deleter(&self) -> Result; -+ pub async fn deleter_with(&self) -> FutureDeleter; ++ pub fn deleter_with(&self) -> FutureDeleter; } ``` @@ -96,7 +96,7 @@ deleter.close().await?; Users can control the behavior of `Deleter` by setting the options: ```rust -let deleter = op.deleter() +let deleter = op.deleter_with() // Allow up to 8 concurrent delete tasks, default to 1. .concurrent(8) // Configure the buffer size to 1000, default value provided by services.