Skip to content

Commit 155c4f1

Browse files
committed
docs: correct some terms
1 parent f4fd338 commit 155c4f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reporter/progress_report.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ pub struct ProgressReport<Size: size::Size> {
1515
}
1616

1717
impl<Size: size::Size + Into<u64>> ProgressReport<Size> {
18-
/// Maximum extend by which the progress text may extend.
18+
/// Maximum length by which the progress text may extend.
1919
///
2020
/// This constant is used as capacity in [`Self::TEXT`] to prevent
2121
/// performance penalty from string resizing.
2222
///
23-
/// The value of this function is made correct by a unit test.
23+
/// The value of this constant is made correct by a unit test.
2424
const TEXT_MAX_LEN: usize = 87;
2525

2626
/// Create a text to be used in [`Self::TEXT`].

0 commit comments

Comments
 (0)