* fix typo

* cargo fmt
This commit is contained in:
houseme
2025-07-20 00:11:15 +08:00
committed by GitHub
parent 823d4b6f79
commit f7d30da9e0
4 changed files with 10 additions and 5 deletions
+4 -1
View File
@@ -276,7 +276,10 @@ impl HTTPRangeSpec {
return Ok(range_length);
}
Err(Error::other("range value invalid"))
Err(Error::other(format!(
"range value invalid: start={}, end={}, expected start <= end and end >= -1",
self.start, self.end
)))
}
}