File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1394,9 +1394,9 @@ pub trait Write {
1394
1394
///
1395
1395
/// If this method consumed `n > 0` bytes of `buf` it must return [`Ok(n)`].
1396
1396
/// If the return value is `Ok(n)` it must hold than `n <= buf.len()`.
1397
- /// Unless `input ` is empty, this function shouldn’t return `Ok(0)` since
1398
- /// caller may interpret that as an error. To indicate lack of space
1399
- /// function should return [`ErrorKind::StorageFull`] error instead.
1397
+ /// Unless `buf ` is empty, this function shouldn’t return `Ok(0)` since the
1398
+ /// caller may interpret that as an error. To indicate lack of space,
1399
+ /// implementors should return [`ErrorKind::StorageFull`] error instead.
1400
1400
///
1401
1401
/// # Errors
1402
1402
///
You can’t perform that action at this time.
0 commit comments