We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 736a342 + 4c4da4c commit bb7c9b9Copy full SHA for bb7c9b9
src/header/shared/quality_item.rs
@@ -11,7 +11,7 @@ use std::str;
11
/// # Implementation notes
12
///
13
/// 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
+/// there are 1001 possible values. Since floating point numbers are not exact and the smallest
15
/// floating point data type (`f32`) consumes four bytes, hyper uses an `u16` value to store the
16
/// quality internally. For performance reasons you may set quality directly to a value between
17
/// 0 and 1000 e.g. `Quality(532)` matches the quality `q=0.532`.
0 commit comments