Skip to content

Commit 24dcbe4

Browse files
committed
csplit: fix doc comment for finish_split
1 parent 47588fc commit 24dcbe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uu/csplit/src/csplit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ impl SplitWriter<'_> {
309309
///
310310
/// # Errors
311311
///
312-
/// Some [`CsplitError::WriteError`] if flushing the writer fails.
312+
/// Returns an error if flushing the writer fails.
313313
fn finish_split(&mut self) -> Result<(), CsplitError> {
314314
if !self.dev_null {
315315
// Flush the writer to ensure all data is written and errors are detected

0 commit comments

Comments
 (0)