Skip to content

Commit bb7c9b9

Browse files
authored
Merge pull request #1140 from birkenfeld/patch-1
docs(quality_item): fix typo
2 parents 736a342 + 4c4da4c commit bb7c9b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/header/shared/quality_item.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use std::str;
1111
/// # Implementation notes
1212
///
1313
/// The quality value is defined as a number between 0 and 1 with three decimal places. This means
14-
/// there are 1000 possible values. Since floating point numbers are not exact and the smallest
14+
/// there are 1001 possible values. Since floating point numbers are not exact and the smallest
1515
/// floating point data type (`f32`) consumes four bytes, hyper uses an `u16` value to store the
1616
/// quality internally. For performance reasons you may set quality directly to a value between
1717
/// 0 and 1000 e.g. `Quality(532)` matches the quality `q=0.532`.

0 commit comments

Comments
 (0)