Skip to content

Commit

Permalink
docs(core): Fix comment for into_futures_async_write (#4928)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo authored Jul 26, 2024
1 parent 8f96fa0 commit fff8c74
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/src/types/write/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,8 @@ impl Writer {
/// FuturesAsyncWriter is not a zero-cost abstraction. The underlying writer
/// requires an owned [`Buffer`], which involves an extra copy operation.
///
/// FuturesAsyncWriters are automatically closed when they go out of scope. Errors detected on
/// closing are ignored by the implementation of Drop. Use the method `close` if these errors
/// must be manually handled.
/// FuturesAsyncWriter is required to call `close()` to make sure all
/// data have been written to the storage.
///
/// # Examples
///
Expand Down

0 comments on commit fff8c74

Please sign in to comment.