Skip to content

Commit

Permalink
fix(doc): fix rfc typos (#3971)
Browse files Browse the repository at this point in the history
Signed-off-by: HowiieYu <[email protected]>
  • Loading branch information
howiieyu authored Jan 12, 2024
1 parent 7144ab1 commit 77e9bdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/docs/rfcs/3911_deleter_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<Deleter>;
+ pub async fn deleter_with(&self) -> FutureDeleter;
+ pub fn deleter_with(&self) -> FutureDeleter;
}
```

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 77e9bdb

Please sign in to comment.