Skip to content

Commit 5ed4ceb

Browse files
fix: correct doc comment on InvalidOrderedRange
The doc said the error occurs when `start` < `end`, but it actually occurs when `start` > `end`.
1 parent f1a7986 commit 5ed4ceb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/headers/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub enum InvalidHttpU64 {
5151
InvalidInt(#[from] ParseIntError),
5252
}
5353

54-
/// An error that may occur when creating an [`OrderedRange`] with `start` < `end`.
54+
/// An error that may occur when creating an [`OrderedRange`] with `start` > `end`.
5555
#[derive(Debug, Clone, PartialEq, Eq, thiserror::Error)]
5656
#[error("The provided `start`: {start} is greater than `end`: {end}")]
5757
pub struct InvalidOrderedRange {

0 commit comments

Comments
 (0)